reporting events of PALF to history table asynchronously

This commit is contained in:
BinChenn
2023-04-22 14:34:34 +00:00
committed by ob-robot
parent a72f656bab
commit 1d918d8dbf
29 changed files with 650 additions and 143 deletions

View File

@ -59,7 +59,9 @@ ObLogService::ObLogService() :
ls_adapter_(),
rpc_proxy_(),
reporter_(),
restore_service_()
restore_service_(),
flashback_service_(),
monitor_()
{}
ObLogService::~ObLogService()
@ -225,7 +227,7 @@ int ObLogService::init(const PalfOptions &options,
KP(alloc_mgr), KP(transport), KP(ls_service), KP(location_service), KP(reporter),
KP(log_block_pool), KP(sql_proxy), KP(net_keepalive_adapter));
} else if (OB_FAIL(PalfEnv::create_palf_env(options, base_dir, self, transport,
alloc_mgr, log_block_pool, palf_env_))) {
alloc_mgr, log_block_pool, &monitor_, palf_env_))) {
CLOG_LOG(WARN, "failed to create_palf_env", K(base_dir), K(ret));
} else if (OB_ISNULL(palf_env_)) {
ret = OB_ERR_UNEXPECTED;