optimize logs of io manager (#102)

This commit is contained in:
Sun Jianyun 2021-06-15 02:58:01 -05:00 committed by GitHub
parent 2e1a0c26e4
commit 1be5137743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -403,7 +403,7 @@ int ObIOChannel::init(const int32_t queue_depth)
MEMSET(&context_, 0, sizeof(context_));
if (0 != (io_ret = ob_io_setup(MAX_AIO_EVENT_CNT, &context_))) {
ret = OB_IO_ERROR;
COMMON_LOG(ERROR, "Fail to setup io context, ", K(ret), K(io_ret));
COMMON_LOG(ERROR, "Fail to setup io context, check config aio-max-nr of operating system", K(ret), K(io_ret));
} else {
submit_cnt_ = 0;
can_submit_request_ = true;

View File

@ -1059,7 +1059,7 @@ int ObServer::init_io()
} else {
// allow load benchmark fail
if (OB_FAIL(ObIOBenchmark::get_instance().init("etc"))) {
LOG_ERROR("init io benchmark fail, ", K(ret));
LOG_WARN("init io benchmark fail, ", K(ret));
}
ret = OB_SUCCESS;
}