[CP] support load the soft module to encrypt data

This commit is contained in:
obdev
2023-02-10 08:11:16 +00:00
committed by ob-robot
parent 6525b0514a
commit 63440bd16e
7 changed files with 182 additions and 2 deletions

View File

@ -87,6 +87,7 @@ int ObServerReloadConfig::operator()()
{
int ret = OB_SUCCESS;
int real_ret = ret;
if (!gctx_.is_inited()) {
real_ret = ret = OB_INNER_STAT_ERROR;
LOG_WARN("gctx not init", "gctx inited", gctx_.is_inited(), K(ret));
@ -124,6 +125,10 @@ int ObServerReloadConfig::operator()()
real_ret = ret;
LOG_WARN("reload config for ratelimit manager fail", K(ret));
}
if (OB_FAIL(ObTdeEncryptEngineLoader::get_instance().reload_config())) {
real_ret = ret;
LOG_WARN("reload config for tde encrypt engine fail", K(ret));
}
}
{
GMEMCONF.reload_config(GCONF);