未验证 提交 227355ac 编写于 作者: W Wesley Wang 提交者: GitHub

Merge pull request #39 from xiaoleizi2016/issue0402

Issue0402
......@@ -420,7 +420,7 @@ public:
DEF_BOOL(enable_mysql_proxy_pool, "true", "if enabled, will long conn for sequence ", CFG_NO_NEED_REBOOT, CFG_SECTION_OBPROXY, CFG_VISIBLE_LEVEL_USER);
// sidecar
DEF_BOOL(enable_sharding, "false", "if enabled means use beyond trust", CFG_NO_NEED_REBOOT, CFG_SECTION_OBPROXY, CFG_VISIBLE_LEVEL_USER);
DEF_BOOL(enable_sharding, "false", "if enabled means use logic db", CFG_NO_NEED_REBOOT, CFG_SECTION_OBPROXY, CFG_VISIBLE_LEVEL_USER);
DEF_STR(sidecar_node_id, "", "node id for dbmesh", CFG_NO_NEED_REBOOT, CFG_SECTION_OBPROXY, CFG_VISIBLE_LEVEL_USER);
DEF_STR(dataplane_host, "", "dataplane address or hostname", CFG_NO_NEED_REBOOT, CFG_SECTION_OBPROXY, CFG_VISIBLE_LEVEL_USER);
DEF_BOOL(use_local_dbconfig, "false", "if enabled, start dbmesh with local dbconfig", CFG_NO_NEED_REBOOT, CFG_SECTION_OBPROXY, CFG_VISIBLE_LEVEL_USER);
......
......@@ -269,9 +269,10 @@ int ObLayout::construct_dirs()
} else if (OB_FAIL(construct_single_dir(CONF_PATH, conf_dir_))) {
MPRINT("fail to construct .conf dir, ret=%d", ret);
} else if (OB_FAIL(construct_single_dir(CONTROL_CONFIG_PATH, control_config_dir_))) {
MPRINT("fail to construct .conf dir, ret=%d", ret);
MPRINT("fail to construct control-config dir, ret=%d", ret);
} else if (OB_FAIL(construct_single_dir(DBCONFIG_PATH, dbconfig_dir_))) {
} else { }
MPRINT("fail to construct sharding-config dir, ret=%d", ret);
}
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册