Modify the upgrade script to forbid the bloom filter during upgrading
This commit is contained in:
@ -1244,6 +1244,12 @@
|
||||
# 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)
|
||||
# # When upgrading from a version prior to 4.2 to version 4.2, the bloom_filter should be disabled.
|
||||
# # The param _bloom_filter_enabled is no longer in use as of version 4.2, there is no need to enable it again.
|
||||
# if actions.get_version(current_version) < actions.get_version('4.2.0.0')\
|
||||
# and actions.get_version(target_version) >= actions.get_version('4.2.0.0'):
|
||||
# actions.set_tenant_parameter(cur, '_bloom_filter_enabled', 'False', timeout)
|
||||
#
|
||||
#####========******####======== actions begin ========####******========####
|
||||
# return
|
||||
#####========******####========= actions end =========####******========####
|
||||
|
||||
Reference in New Issue
Block a user