don't print error log when offline ObLogHandler due to ObRoleChangeService has been stopped.

This commit is contained in:
HaHaJeff
2023-05-16 07:51:54 +00:00
committed by ob-robot
parent 74c56902ee
commit 34fb2a21b4

View File

@ -1289,7 +1289,7 @@ int ObLogHandler::offline()
is_offline_ = true;
// NB: must ensure on_role_change not fail.
if (OB_FAIL(rc_service_->on_role_change(id_))) {
CLOG_LOG(ERROR, "on_role_change failed", K(ret), KPC(this));
CLOG_LOG(WARN, "on_role_change failed", K(ret), KPC(this));
} else {
CLOG_LOG(INFO, "LogHandler offline success", K(ret), KPC(this));
}