4251在master占位
This commit is contained in:
parent
652b31ab36
commit
464f39cdf4
2
deps/oblib/src/common/ob_version_def.h
vendored
2
deps/oblib/src/common/ob_version_def.h
vendored
@ -126,6 +126,7 @@ cal_version(const uint64_t major, const uint64_t minor, const uint64_t major_pat
|
||||
#define MOCK_CLUSTER_VERSION_4_2_3_1 (oceanbase::common::cal_version(4, 2, 3, 1))
|
||||
#define MOCK_CLUSTER_VERSION_4_2_4_0 (oceanbase::common::cal_version(4, 2, 4, 0))
|
||||
#define MOCK_CLUSTER_VERSION_4_2_5_0 (oceanbase::common::cal_version(4, 2, 5, 0))
|
||||
#define MOCK_CLUSTER_VERSION_4_2_5_1 (oceanbase::common::cal_version(4, 2, 5, 1))
|
||||
// new data version before 4.3 cannot upgrade to master, must add "MOCK_" prefix
|
||||
#define CLUSTER_VERSION_4_3_0_0 (oceanbase::common::cal_version(4, 3, 0, 0))
|
||||
#define CLUSTER_VERSION_4_3_0_1 (oceanbase::common::cal_version(4, 3, 0, 1))
|
||||
@ -164,6 +165,7 @@ cal_version(const uint64_t major, const uint64_t minor, const uint64_t major_pat
|
||||
#define MOCK_DATA_VERSION_4_2_3_1 (oceanbase::common::cal_version(4, 2, 3, 1))
|
||||
#define MOCK_DATA_VERSION_4_2_4_0 (oceanbase::common::cal_version(4, 2, 4, 0))
|
||||
#define MOCK_DATA_VERSION_4_2_5_0 (oceanbase::common::cal_version(4, 2, 5, 0))
|
||||
#define MOCK_DATA_VERSION_4_2_5_1 (oceanbase::common::cal_version(4, 2, 5, 1))
|
||||
// new data version before 4.3 cannot upgrade to master, must add "MOCK_" prefix
|
||||
#define DATA_VERSION_4_3_0_0 (oceanbase::common::cal_version(4, 3, 0, 0))
|
||||
#define DATA_VERSION_4_3_0_1 (oceanbase::common::cal_version(4, 3, 0, 1))
|
||||
|
@ -56,6 +56,7 @@ const uint64_t ObUpgradeChecker::UPGRADE_PATH[] = {
|
||||
CALC_VERSION(4UL, 2UL, 3UL, 1UL), // 4.2.3.1
|
||||
CALC_VERSION(4UL, 2UL, 4UL, 0UL), // 4.2.4.0
|
||||
CALC_VERSION(4UL, 2UL, 5UL, 0UL), // 4.2.5.0
|
||||
CALC_VERSION(4UL, 2UL, 5UL, 1UL), // 4.2.5.1
|
||||
CALC_VERSION(4UL, 3UL, 0UL, 0UL), // 4.3.0.0
|
||||
CALC_VERSION(4UL, 3UL, 0UL, 1UL), // 4.3.0.1
|
||||
CALC_VERSION(4UL, 3UL, 1UL, 0UL), // 4.3.1.0
|
||||
@ -92,6 +93,7 @@ int ObUpgradeChecker::get_data_version_by_cluster_version(
|
||||
CONVERT_CLUSTER_VERSION_TO_DATA_VERSION(MOCK_CLUSTER_VERSION_4_2_3_1, MOCK_DATA_VERSION_4_2_3_1)
|
||||
CONVERT_CLUSTER_VERSION_TO_DATA_VERSION(MOCK_CLUSTER_VERSION_4_2_4_0, MOCK_DATA_VERSION_4_2_4_0)
|
||||
CONVERT_CLUSTER_VERSION_TO_DATA_VERSION(MOCK_CLUSTER_VERSION_4_2_5_0, MOCK_DATA_VERSION_4_2_5_0)
|
||||
CONVERT_CLUSTER_VERSION_TO_DATA_VERSION(MOCK_CLUSTER_VERSION_4_2_5_1, MOCK_DATA_VERSION_4_2_5_1)
|
||||
CONVERT_CLUSTER_VERSION_TO_DATA_VERSION(CLUSTER_VERSION_4_3_0_0, DATA_VERSION_4_3_0_0)
|
||||
CONVERT_CLUSTER_VERSION_TO_DATA_VERSION(CLUSTER_VERSION_4_3_0_1, DATA_VERSION_4_3_0_1)
|
||||
CONVERT_CLUSTER_VERSION_TO_DATA_VERSION(CLUSTER_VERSION_4_3_1_0, DATA_VERSION_4_3_1_0)
|
||||
@ -688,6 +690,7 @@ int ObUpgradeProcesserSet::init(
|
||||
INIT_PROCESSOR_BY_VERSION(4, 2, 3, 1);
|
||||
INIT_PROCESSOR_BY_VERSION(4, 2, 4, 0);
|
||||
INIT_PROCESSOR_BY_VERSION(4, 2, 5, 0);
|
||||
INIT_PROCESSOR_BY_VERSION(4, 2, 5, 1);
|
||||
INIT_PROCESSOR_BY_VERSION(4, 3, 0, 0);
|
||||
INIT_PROCESSOR_BY_VERSION(4, 3, 0, 1);
|
||||
INIT_PROCESSOR_BY_VERSION(4, 3, 1, 0);
|
||||
|
@ -176,7 +176,7 @@ public:
|
||||
const uint64_t cluster_version,
|
||||
uint64_t &data_version);
|
||||
public:
|
||||
static const int64_t DATA_VERSION_NUM = 23;
|
||||
static const int64_t DATA_VERSION_NUM = 24;
|
||||
static const uint64_t UPGRADE_PATH[];
|
||||
};
|
||||
|
||||
@ -245,6 +245,7 @@ DEF_SIMPLE_UPGRARD_PROCESSER(4, 2, 3, 0)
|
||||
DEF_SIMPLE_UPGRARD_PROCESSER(4, 2, 3, 1)
|
||||
DEF_SIMPLE_UPGRARD_PROCESSER(4, 2, 4, 0)
|
||||
DEF_SIMPLE_UPGRARD_PROCESSER(4, 2, 5, 0)
|
||||
DEF_SIMPLE_UPGRARD_PROCESSER(4, 2, 5, 1)
|
||||
DEF_SIMPLE_UPGRARD_PROCESSER(4, 3, 0, 0)
|
||||
DEF_SIMPLE_UPGRARD_PROCESSER(4, 3, 0, 1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user