fix parallel range split problem
This commit is contained in:
@ -27,6 +27,9 @@ def do_special_upgrade(conn, cur, timeout, user, passwd):
|
||||
# when upgrade across version, disable enable_ddl/major_freeze
|
||||
if current_version != target_version:
|
||||
actions.set_parameter(cur, 'enable_ddl', 'False', timeout)
|
||||
actions.set_parameter(cur, 'enable_major_freeze', 'False', timeout)
|
||||
actions.set_tenant_parameter(cur, '_enable_adaptive_compaction', 'False', timeout)
|
||||
actions.do_suspend_merge(cur, timeout)
|
||||
####========******####======== actions begin ========####******========####
|
||||
return
|
||||
####========******####========= actions end =========####******========####
|
||||
|
||||
Reference in New Issue
Block a user