modify upgrade script
This commit is contained in:
@ -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 =========####******========####
|
||||
|
||||
@ -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 =========####******========####
|
||||
|
||||
@ -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 =========####******========####
|
||||
|
||||
Reference in New Issue
Block a user