[UPGRADE] Add 4.2.1.2 to upgrade path

This commit is contained in:
tino247
2024-02-06 20:14:16 +00:00
committed by ob-robot
parent d585e69d16
commit 89f7a391aa
2 changed files with 5 additions and 1 deletions

View File

@ -199,7 +199,7 @@ cal_version(const uint64_t major, const uint64_t minor, const uint64_t major_pat
#define DATA_CURRENT_VERSION DATA_VERSION_4_3_0_0 #define DATA_CURRENT_VERSION DATA_VERSION_4_3_0_0
// ATTENSION !!!!!!!!!!!!!!!!!!!!!!!!!!! // ATTENSION !!!!!!!!!!!!!!!!!!!!!!!!!!!
// LAST_BARRIER_DATA_VERSION should be the latest barrier data version before DATA_CURRENT_VERSION // LAST_BARRIER_DATA_VERSION should be the latest barrier data version before DATA_CURRENT_VERSION
#define LAST_BARRIER_DATA_VERSION DATA_VERSION_4_1_0_0 #define LAST_BARRIER_DATA_VERSION DATA_VERSION_4_2_1_0
// should check returned ret // should check returned ret
#define GET_MIN_DATA_VERSION(tenant_id, data_version) (oceanbase::common::ObClusterVersion::get_instance().get_tenant_data_version((tenant_id), (data_version))) #define GET_MIN_DATA_VERSION(tenant_id, data_version) (oceanbase::common::ObClusterVersion::get_instance().get_tenant_data_version((tenant_id), (data_version)))
#define TENANT_NEED_UPGRADE(tenant_id, need) (oceanbase::common::ObClusterVersion::get_instance().tenant_need_upgrade((tenant_id), (need))) #define TENANT_NEED_UPGRADE(tenant_id, need) (oceanbase::common::ObClusterVersion::get_instance().tenant_need_upgrade((tenant_id), (need)))

View File

@ -61,6 +61,10 @@
- 4.2.1.1 - 4.2.1.1
- version: 4.2.1.1 - version: 4.2.1.1
can_be_upgraded_to:
- 4.2.1.2
- version: 4.2.1.2
can_be_upgraded_to: can_be_upgraded_to:
- 4.3.0.0 - 4.3.0.0
require_from_binary: require_from_binary: