add diagnose info in timer task log
This commit is contained in:
2
deps/oblib/src/lib/thread/ob_work_queue.cpp
vendored
2
deps/oblib/src/lib/thread/ob_work_queue.cpp
vendored
@ -19,7 +19,7 @@ void ObAsyncTimerTask::runTimerTask()
|
|||||||
{
|
{
|
||||||
int ret = OB_SUCCESS;
|
int ret = OB_SUCCESS;
|
||||||
if (OB_FAIL(work_queue_.add_async_task(*this))) {
|
if (OB_FAIL(work_queue_.add_async_task(*this))) {
|
||||||
LOG_ERROR("failed to submit async task", K(ret));
|
LOG_ERROR("failed to submit async task", K(ret), KPC(this));
|
||||||
} else {
|
} else {
|
||||||
LOG_INFO("add async task", KPC(this));
|
LOG_INFO("add async task", KPC(this));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user