don't print error log when read block return OB_ERR_OUT_OF_UPPER_BOUND in block GC

This commit is contained in:
obdev 2022-10-24 21:00:39 +08:00 committed by wangzelin.wzl
parent f5b12bcbfd
commit 8c31cdbdb7

View File

@ -631,7 +631,7 @@ bool PalfEnvImpl::LogGetRecycableFileCandidate::operator()(const LSKey &palf_id,
&& OB_NO_SUCH_FILE_OR_DIRECTORY != ret) {
ret_code_ = ret;
bool_ret = false;
PALF_LOG(ERROR, "LogGetRecycableFileCandidate get_min_block_id_min_ts_ns failed", K(ret), K(palf_id));
PALF_LOG(WARN, "LogGetRecycableFileCandidate get_min_block_id_min_ts_ns failed", K(ret), K(palf_id));
// recycable conditions:
// 1. current palf_handle_impl must have some block can be recycable;
// 2. current palf_handle_impl must have older blocks(at least two blocks).