[CP] support load the soft module to encrypt data
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user