CP data_version/cluster_version to 4.2.0.0

This commit is contained in:
tino247
2023-05-11 13:53:19 +00:00
committed by ob-robot
parent c795f68755
commit c25187b07c
4 changed files with 14 additions and 2 deletions

View File

@ -170,12 +170,13 @@ public:
const uint64_t cluster_version,
uint64_t &data_version);
public:
static const int64_t DATA_VERSION_NUM = 3;
static const int64_t DATA_VERSION_NUM = 4;
static const uint64_t UPGRADE_PATH[DATA_VERSION_NUM];
};
/* =========== special upgrade processor start ============= */
DEF_SIMPLE_UPGRARD_PROCESSER(4, 0, 0, 0)
class ObUpgradeFor4100Processor : public ObBaseUpgradeProcessor
{
public:
@ -190,6 +191,8 @@ private:
static int recompile_all_views_and_synonyms(const uint64_t tenant_id);
};
DEF_SIMPLE_UPGRARD_PROCESSER(4, 1, 0, 1)
class ObUpgradeFor4200Processor : public ObBaseUpgradeProcessor
{
public: