modify upgrade script
This commit is contained in:
@ -27,9 +27,6 @@ def do_special_upgrade(conn, cur, timeout, user, passwd):
|
|||||||
# when upgrade across version, disable enable_ddl/major_freeze
|
# when upgrade across version, disable enable_ddl/major_freeze
|
||||||
if current_version != target_version:
|
if current_version != target_version:
|
||||||
actions.set_parameter(cur, 'enable_ddl', 'False', timeout)
|
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 ========####******========####
|
####========******####======== actions begin ========####******========####
|
||||||
return
|
return
|
||||||
####========******####========= actions end =========####******========####
|
####========******####========= actions end =========####******========####
|
||||||
|
@ -1224,9 +1224,6 @@
|
|||||||
# # when upgrade across version, disable enable_ddl/major_freeze
|
# # when upgrade across version, disable enable_ddl/major_freeze
|
||||||
# if current_version != target_version:
|
# if current_version != target_version:
|
||||||
# actions.set_parameter(cur, 'enable_ddl', 'False', timeout)
|
# 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 ========####******========####
|
#####========******####======== actions begin ========####******========####
|
||||||
# return
|
# return
|
||||||
#####========******####========= actions end =========####******========####
|
#####========******####========= actions end =========####******========####
|
||||||
|
@ -1224,9 +1224,6 @@
|
|||||||
# # when upgrade across version, disable enable_ddl/major_freeze
|
# # when upgrade across version, disable enable_ddl/major_freeze
|
||||||
# if current_version != target_version:
|
# if current_version != target_version:
|
||||||
# actions.set_parameter(cur, 'enable_ddl', 'False', timeout)
|
# 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 ========####******========####
|
#####========******####======== actions begin ========####******========####
|
||||||
# return
|
# return
|
||||||
#####========******####========= actions end =========####******========####
|
#####========******####========= actions end =========####******========####
|
||||||
|
Reference in New Issue
Block a user