提交 d05ba054 编写于 作者: T Tyshawn 提交者: OB-robot

[CP] reduce print log

上级 012577d4
......@@ -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;
......
......@@ -48,7 +48,7 @@ int ObIMemtableMgr::get_first_memtable(ObTableHandleV2 &handle) const
SpinRLockGuard lock_guard(lock_);
if (memtable_head_ == memtable_tail_) {
ret = OB_ENTRY_NOT_EXIST;
STORAGE_LOG(WARN, "There is no memtable in ObLockMemtableMgr.");
STORAGE_LOG(DEBUG, "There is no memtable in ObIMemtableMgr.");
} else if (OB_FAIL(get_ith_memtable(memtable_head_, handle))) {
STORAGE_LOG(WARN, "fail to get ith memtable", K(ret), K(memtable_head_));
} else if (OB_UNLIKELY(!handle.is_valid())) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册