bugfix: start wr service before init tenant service.

This commit is contained in:
rolandqi
2024-02-08 12:12:42 +00:00
committed by ob-robot
parent ee4100c421
commit 7775df4c75

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 {