reduce print log

This commit is contained in:
Tyshawn
2022-11-30 14:05:45 +00:00
committed by ob-robot
parent fa726077f7
commit 6246d0b7d4
2 changed files with 2 additions and 2 deletions

View File

@ -514,7 +514,7 @@ int ObTmpMacroBlock::get_block_cache_handle(ObTmpBlockValueHandle &handle)
if (OB_UNLIKELY(OB_ENTRY_NOT_EXIST != ret)) {
STORAGE_LOG(WARN, "fail to get tmp block from cache", K(ret), K(key));
} else if (REACH_COUNT_INTERVAL(100)) { // print one log per 100 times.
STORAGE_LOG(INFO, "block cache miss", K(ret), K(key));
STORAGE_LOG(DEBUG, "block cache miss", K(ret), K(key));
}
}
return ret;