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
@@ -826,6 +830,7 @@ class ClusterDestroyCommand(ClusterMirrorCommand):
826
830
def__init__(self):
827
831
super(ClusterDestroyCommand, self).__init__('destroy', 'Destroy a deployed cluster.')
828
832
self.parser.add_option('-f', '--force-kill', action='store_true', help="Force kill the running observer process in the working directory.")
833
+
self.parser.add_option('--ignore-standby', '--igs', action='store_true', help="Force kill the observer while standby tenant in others cluster exists.")
829
834
830
835
def_do_command(self, obd):
831
836
ifself.cmds:
@@ -873,6 +878,7 @@ def __init__(self):
873
878
super(ClusterRedeployCommand, self).__init__('redeploy', 'Redeploy a started cluster.')
874
879
self.parser.add_option('-f', '--force-kill', action='store_true', help="Force kill the running observer process in the working directory.")
875
880
self.parser.add_option('--confirm', action='store_true', help='Confirm to redeploy.')
881
+
self.parser.add_option('--ignore-standby', '--igs', action='store_true', help="Force kill the observer while standby tenant in others cluster exists.")
876
882
877
883
def_do_command(self, obd):
878
884
ifself.cmds:
@@ -951,6 +957,7 @@ def __init__(self):
951
957
self.parser.add_option('--disable', type='string', help="Hash list for disabled mirrors, separated with `,`.", default='')
self.parser.add_option('-t', '--script-query-timeout', type='string', help="The timeout(s) for executing sql in upgrade scripts. Supported since version 4.1.0", default='')
960
+
self.parser.add_option('--ignore-standby', '--igs', action='store_true', help="Force upgrade, before upgrade standby tenant`s cluster.")
self.parser.add_option('-t', '-n', '--tenant-name', type='string', help="The standby tenant name. The default tenant name is consistent with the primary tenant name.", default='')
1024
+
self.parser.add_option('--standbyro-password', type='string', help="standbyro user password.")
self.parser.add_option('--ignore-standby', '--igs', action='store_true', help="Force drop tenant when it has standby tenant, the standby tenants will become unavailable.")
1004
1100
1005
1101
def_do_command(self, obd):
1006
1102
ifself.cmds:
@@ -1013,6 +1109,8 @@ class ClusterTenantListCommand(ClusterMirrorCommand):
1013
1109
1014
1110
def__init__(self):
1015
1111
super(ClusterTenantListCommand, self).__init__('show', 'Show the list of tenant.')
0 commit comments