提交 9547c883 编写于 作者: O obdev 提交者: wangzelin.wzl

adjust kvcache log level.

上级 6212d3fd
......@@ -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) {
......
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册