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);
...
...
@@ -486,6 +486,8 @@ public:
DEF_BOOL(enable_read_write_split,"false","if enabled, use read write split mode",CFG_NO_NEED_REBOOT,CFG_SECTION_OBPROXY,CFG_VISIBLE_LEVEL_SYS);
DEF_BOOL(enable_transaction_split,"false","if enabled, support transaction split",CFG_NO_NEED_REBOOT,CFG_SECTION_OBPROXY,CFG_VISIBLE_LEVEL_SYS);
DEF_STR_LIST(weak_read_user_list,"","weak read for list of users, format user1;user2",CFG_NO_NEED_REBOOT,CFG_SECTION_OBPROXY,CFG_VISIBLE_LEVEL_USER);
// binlog service
DEF_STR(binlog_service_ip,"","binlog service ip, format ip1:sql_port1",CFG_NO_NEED_REBOOT,CFG_SECTION_OBPROXY,CFG_VISIBLE_LEVEL_SYS);
DEF_BOOL(enable_binlog_service,"false","if enabled, obproxy will send binlog request to OBLogProxy",CFG_NO_NEED_REBOOT,CFG_SECTION_OBPROXY,CFG_VISIBLE_LEVEL_SYS);