reduce print log
This commit is contained in:
@ -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())) {
|
||||
|
||||
Reference in New Issue
Block a user