[UPGRADE] Forbid restoring tenant with unsupported data version

This commit is contained in:
tino247
2024-04-01 15:15:20 +00:00
committed by ob-robot
parent dd363f0336
commit 1c6016f108
3 changed files with 13 additions and 0 deletions

View File

@ -168,6 +168,7 @@ class ObUpgradeChecker
{
public:
static bool check_data_version_exist(const uint64_t version);
static bool check_data_version_valid_for_backup(const uint64_t data_version);
static bool check_cluster_version_exist(const uint64_t version);
static int get_data_version_by_cluster_version(
const uint64_t cluster_version,