[UPGRADE] Upgrade cluster_version/data_version to 4.2.0.0

This commit is contained in:
tino247
2023-04-18 03:44:59 +00:00
committed by ob-robot
parent 167d4b9724
commit 9a57e64e56
13 changed files with 159 additions and 157 deletions

View File

@ -165,11 +165,12 @@ class ObUpgradeChecker
{
public:
static bool check_data_version_exist(const uint64_t version);
static bool check_cluster_version_exist(const uint64_t version);
static int get_data_version_by_cluster_version(
const uint64_t cluster_version,
uint64_t &data_version);
public:
static const int64_t DATA_VERSION_NUM = 2;
static const int64_t DATA_VERSION_NUM = 3;
static const uint64_t UPGRADE_PATH[DATA_VERSION_NUM];
};
@ -188,6 +189,7 @@ private:
int init_rewrite_rule_version(const uint64_t tenant_id);
static int recompile_all_views_and_synonyms(const uint64_t tenant_id);
};
DEF_SIMPLE_UPGRARD_PROCESSER(4, 2, 0, 0)
/* =========== special upgrade processor end ============= */
/* =========== upgrade processor end ============= */