diff --git a/tools/upgrade/special_upgrade_action_pre.py b/tools/upgrade/special_upgrade_action_pre.py index fa6705623d..913a284804 100755 --- a/tools/upgrade/special_upgrade_action_pre.py +++ b/tools/upgrade/special_upgrade_action_pre.py @@ -28,6 +28,8 @@ def do_special_upgrade(conn, cur, timeout, user, passwd): if current_version != target_version: actions.set_parameter(cur, 'enable_ddl', 'False', timeout) actions.set_parameter(cur, 'enable_major_freeze', 'False', timeout) + actions.set_parameter(cur, 'enable_rebalance', 'False', timeout) + actions.set_parameter(cur, 'enable_rereplication', 'False', timeout) ####========******####======== actions begin ========####******========#### return ####========******####========= actions end =========####******========#### diff --git a/tools/upgrade/upgrade_post.py b/tools/upgrade/upgrade_post.py index e02339c7dd..8acc040267 100755 --- a/tools/upgrade/upgrade_post.py +++ b/tools/upgrade/upgrade_post.py @@ -1215,6 +1215,8 @@ # if current_version != target_version: # actions.set_parameter(cur, 'enable_ddl', 'False', timeout) # actions.set_parameter(cur, 'enable_major_freeze', 'False', timeout) +# actions.set_parameter(cur, 'enable_rebalance', 'False', timeout) +# actions.set_parameter(cur, 'enable_rereplication', 'False', timeout) #####========******####======== actions begin ========####******========#### # return #####========******####========= actions end =========####******========#### diff --git a/tools/upgrade/upgrade_pre.py b/tools/upgrade/upgrade_pre.py index 202cbe5de3..f8d45a42a6 100755 --- a/tools/upgrade/upgrade_pre.py +++ b/tools/upgrade/upgrade_pre.py @@ -1215,6 +1215,8 @@ # if current_version != target_version: # actions.set_parameter(cur, 'enable_ddl', 'False', timeout) # actions.set_parameter(cur, 'enable_major_freeze', 'False', timeout) +# actions.set_parameter(cur, 'enable_rebalance', 'False', timeout) +# actions.set_parameter(cur, 'enable_rereplication', 'False', timeout) #####========******####======== actions begin ========####******========#### # return #####========******####========= actions end =========####******========####