adjust kvcache log level.

This commit is contained in:
obdev
2021-07-16 15:03:13 +08:00
committed by wangzelin.wzl
parent 6212d3fd99
commit 9547c883a3
2 changed files with 2 additions and 2 deletions

View File

@ -579,7 +579,7 @@ int ObKVCacheStore::alloc_mbhandle(
} else if (NULL ==
(buf = static_cast<char*>(alloc_mb(*inst.mb_list_handle_.get_resource_handle(), tenant_id, block_size)))) {
ret = OB_ALLOCATE_MEMORY_FAILED;
COMMON_LOG(ERROR, "Fail to allocate memory, ", K(block_size), K(ret));
COMMON_LOG(WARN, "Fail to allocate memory, ", K(block_size), K(ret));
}
if (NULL != buf) {

View File

@ -256,7 +256,7 @@ int ObIKVCacheStore<MBWrapper>::alloc_kvpair(ObKVCacheInst& inst, const int64_t
if (OB_SUCC(ret)) {
MBWrapper* new_mb_wrapper = NULL;
if (OB_FAIL(alloc(inst, policy, block_size, new_mb_wrapper))) {
COMMON_LOG(ERROR, "alloc failed", K(ret), K(block_size));
COMMON_LOG(WARN, "alloc failed", K(ret), K(block_size));
} else if (ATOMIC_BCAS(
(uint64_t*)(&get_curr_mb(inst, policy)), (uint64_t)mb_wrapper, (uint64_t)new_mb_wrapper)) {
if (NULL != mb_wrapper) {