未验证 提交 8167156c 编写于 作者: H hohice 提交者: GitHub

Replica cache fix (#854)

* prepare replica type cache update

* repare replica cache
上级 bc1f0c4d
......@@ -2342,7 +2342,8 @@ int ObPGStorage::set_pg_replica_type(const ObReplicaType& replica_type, const bo
}
}
switch_meta_(next_meta_ptr);
LOG_INFO("succeed to set replica type", K(*meta_));
ATOMIC_STORE(&cached_replica_type_, replica_type);
LOG_INFO("succeed to set replica type", K(*meta_), K(cached_replica_type_));
if (need_clean_memtable) {
pg_memtable_mgr_.clean_memtables();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册