[fix] fix some error logs

This commit is contained in:
BinChenn
2023-06-27 08:17:51 +00:00
committed by ob-robot
parent 4085b6c0c6
commit 6a6deadb47
7 changed files with 61 additions and 17 deletions

View File

@ -538,7 +538,6 @@ int LogEngine::submit_purge_throttling_task(const PurgeThrottlingType purge_type
int LogEngine::append_log(const LSN &lsn, const LogWriteBuf &write_buf, const SCN &scn)
{
int ret = OB_SUCCESS;
ObTimeGuard time_guard("append_log", 100);
if (IS_NOT_INIT) {
ret = OB_NOT_INIT;
PALF_LOG(ERROR, "LogEngine not inited!!!", K(ret), K_(palf_id), K_(is_inited));
@ -551,7 +550,6 @@ int LogEngine::append_log(const LSN &lsn, const LogWriteBuf &write_buf, const SC
PALF_LOG(
TRACE, "LogEngine append_log success", K(ret), K_(palf_id), K_(is_inited), K(lsn), K(write_buf), K(scn));
}
time_guard.click("append_log");
return ret;
}