rebuild master key version info after restore finished

This commit is contained in:
yinyj17
2024-02-08 23:43:27 +00:00
committed by ob-robot
parent acc64bfcdc
commit 3d2597796e
10 changed files with 109 additions and 3 deletions

View File

@ -9150,6 +9150,32 @@ public:
private:
common::ObArenaAllocator allocator_;
};
struct ObReloadMasterKeyArg
{
OB_UNIS_VERSION(1);
public:
ObReloadMasterKeyArg(): tenant_id_(OB_INVALID_ID)
{}
~ObReloadMasterKeyArg() {}
int assign(const ObReloadMasterKeyArg &other);
bool is_valid() const { return OB_INVALID_ID != tenant_id_; }
TO_STRING_KV(K_(tenant_id));
uint64_t tenant_id_;
};
struct ObReloadMasterKeyResult
{
OB_UNIS_VERSION(1);
public:
ObReloadMasterKeyResult(): tenant_id_(OB_INVALID_ID), master_key_id_(OB_INVALID_ID)
{}
~ObReloadMasterKeyResult() {}
int assign(const ObReloadMasterKeyResult &other);
TO_STRING_KV(K_(tenant_id), K_(master_key_id));
uint64_t tenant_id_;
uint64_t master_key_id_;
};
#endif
struct TenantServerUnitConfig