bugfix: start wr service before init tenant service.

This commit is contained in:
rolandqi 2023-12-26 09:02:36 +00:00 committed by ob-robot
parent 85b05215a5
commit b1f8e690ea

View File

@ -877,6 +877,12 @@ int ObServer::start()
FLOG_INFO("success to start multi tenant");
}
if (FAILEDx(wr_service_.start())) {
LOG_ERROR("failed to start wr service", K(ret));
} else {
LOG_INFO("success to start wr service");
}
if (FAILEDx(ObServerCheckpointSlogHandler::get_instance().start())) {
LOG_ERROR("fail to start server checkpoint slog handler", KR(ret));
} else {
@ -889,12 +895,6 @@ int ObServer::start()
FLOG_INFO("success to start log pool");
}
if (FAILEDx(wr_service_.start())) {
LOG_ERROR("failed to start wr service", K(ret));
} else {
LOG_INFO("success to start wr service");
}
if (FAILEDx(try_update_hidden_sys())) {
LOG_ERROR("fail to update hidden sys tenant", KR(ret));
} else {