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

@ -7743,6 +7743,25 @@ void ObRootKeyResult::reset()
key_type_ = RootKeyType::INVALID;
root_key_.reset();
}
OB_SERIALIZE_MEMBER(ObReloadMasterKeyArg, tenant_id_);
int ObReloadMasterKeyArg::assign(const ObReloadMasterKeyArg &other)
{
int ret = OB_SUCCESS;
tenant_id_ = other.tenant_id_;
return ret;
}
OB_SERIALIZE_MEMBER(ObReloadMasterKeyResult, tenant_id_, master_key_id_);
int ObReloadMasterKeyResult::assign(const ObReloadMasterKeyResult &other)
{
int ret = OB_SUCCESS;
tenant_id_ = other.tenant_id_;
master_key_id_ = other.master_key_id_;
return ret;
}
#endif
OB_SERIALIZE_MEMBER(ObTrxToolArg, trans_id_, status_,
trans_version_, end_log_ts_, cmd_);