提交 fadcddc8 编写于 作者: W wgs13579 提交者: guangshu.wgs

Fix the problem that ODP cannot be accessed normally from the local...

Fix the problem that ODP cannot be accessed normally from the local configuration file after OCP hangs
上级 b033cdfe
...@@ -1090,6 +1090,9 @@ int ObProxyJsonConfigInfo::parse_rslist_data(const Value *json_value, const ObSt ...@@ -1090,6 +1090,9 @@ int ObProxyJsonConfigInfo::parse_rslist_data(const Value *json_value, const ObSt
} }
if (OB_SUCC(ret)) { if (OB_SUCC(ret)) {
if (is_from_local) { if (is_from_local) {
if (cluster_id == OB_DEFAULT_CLUSTER_ID) {
cluster_id = json_cluster_id;
}
if (cluster_name == OB_META_DB_CLUSTER_NAME) { if (cluster_name == OB_META_DB_CLUSTER_NAME) {
if (!real_meta_cluster_name.empty()) { if (!real_meta_cluster_name.empty()) {
data_info_.meta_table_info_.real_cluster_name_.set_value(real_meta_cluster_name); data_info_.meta_table_info_.real_cluster_name_.set_value(real_meta_cluster_name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册