You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.parser.add_option('-p', '--cdcro-password', type='string', help='Password of user `cdcro`.If user already been created manually, you need to enter the password here.')
2572
+
self.parser.add_option('--rs', '--root-server-list', type='string', help="The list of machines where the rootservice resides, in the format 'server_ip:server_rpc_port:server_sql_port'")
Copy file name to clipboardExpand all lines: _errno.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -261,7 +261,7 @@ class InitDirFailedErrorMessage(object):
261
261
262
262
# obbinlog
263
263
EC_OBBINLOG_DEPENDS_COMP_MIN_VERSION=OBDErrorCodeTemplate(4601, 'OBBinlog {obbinlog_version} needs to use {comp} with version {min_version} or above.')
264
-
EC_OBBINLOG_TARGET_DEPLOY_NEED_CONFIGSERVER=OBDErrorCodeTemplate(4602, 'Deploy {target_oceanbase_deploy} need depends ob-configserver. You could use `obd cluster component add {target_oceanbase_deploy} -c <ob-configserver.config>` to add.')
264
+
EC_OBBINLOG_TARGET_DEPLOY_NEED_CONFIGSERVER=OBDErrorCodeTemplate(4602, 'Deploy {target_oceanbase_deploy} need depends ob-configserver. You could use `obd cluster component add {target_oceanbase_deploy} -c <ob-configserver.config>` to add or set `--rs` paramater')
265
265
EC_OBBINLOG_CE_WITH_OCENABASE_CE=OBDErrorCodeTemplate(4603, 'The Binlog service for the community version can only be used with the community version of the OceanBase database.')
266
266
EC_OBBINLOG_WITH_OCENABASE=OBDErrorCodeTemplate(4604, 'The Binlog service for the enterprise version can only be used with the enterprise version of the OceanBase database.')
sql=f"CREATE BINLOG FOR TENANT `{cluster_name}`.`{tenant_name}` TO USER `cdcro` PASSWORD `{ob_global_config.get('cdcro_password')}` WITH CLUSTER URL `{obconfig_url}`, REPLICATE NUM {replicate_num};"
38
+
ifobconfig_url:
39
+
sql=f"CREATE BINLOG FOR TENANT `{cluster_name}`.`{tenant_name}` TO USER `cdcro` PASSWORD `{ob_global_config.get('cdcro_password')}` WITH CLUSTER URL `{obconfig_url}`, REPLICATE NUM {replicate_num};"
sql=f"CREATE BINLOG FOR TENANT `{cluster_name}`.`{tenant_name}` TO USER `cdcro` PASSWORD `{ob_global_config.get('cdcro_password')}` WITH ROOTSERVER_LIST '{root_service_list}', REPLICATE NUM {replicate_num};"
0 commit comments