add macro CLUSTER_VERSION_4_2_1_2

This commit is contained in:
HaHaJeff
2024-02-06 18:40:54 +00:00
committed by ob-robot
parent 0067fea856
commit 3f011cf17c
3 changed files with 10 additions and 4 deletions

View File

@ -170,8 +170,8 @@ public:
const uint64_t cluster_version,
uint64_t &data_version);
public:
static const int64_t DATA_VERSION_NUM = 9;
static const uint64_t UPGRADE_PATH[DATA_VERSION_NUM];
static const int64_t DATA_VERSION_NUM = 10;
static const uint64_t UPGRADE_PATH[];
};
/* =========== special upgrade processor start ============= */
@ -211,6 +211,7 @@ private:
DEF_SIMPLE_UPGRARD_PROCESSER(4, 2, 1, 0)
DEF_SIMPLE_UPGRARD_PROCESSER(4, 2, 1, 1)
DEF_SIMPLE_UPGRARD_PROCESSER(4, 2, 1, 2)
DEF_SIMPLE_UPGRARD_PROCESSER(4, 2, 2, 0)
DEF_SIMPLE_UPGRARD_PROCESSER(4, 3, 0, 0)
/* =========== special upgrade processor end ============= */