diff --git a/src/obproxy/obutils/ob_proxy_config.h b/src/obproxy/obutils/ob_proxy_config.h index 906eefdb656d8db2ca4ec64a3534f309f7984d5e..ada88e218f77f07d3f6c2ae407a6d27017953960 100644 --- a/src/obproxy/obutils/ob_proxy_config.h +++ b/src/obproxy/obutils/ob_proxy_config.h @@ -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); diff --git a/src/obproxy/utils/ob_layout.cpp b/src/obproxy/utils/ob_layout.cpp index a1be2ef822c0345814fa0fb338ba756381c555f6..a54ad36da58ff38d151adc53772b8f23b606fb21 100644 --- a/src/obproxy/utils/ob_layout.cpp +++ b/src/obproxy/utils/ob_layout.cpp @@ -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; }