fix obtest and on_server_status_change

This commit is contained in:
maosy
2023-05-29 02:16:36 +00:00
committed by ob-robot
parent 6ecf615222
commit e70c1e729d
3 changed files with 49 additions and 56 deletions

View File

@ -1385,7 +1385,7 @@ int ObRootService::submit_update_all_server_task(const ObAddr &server)
}
// FIXME: @wanhong.wwh: If self is RS and self status change, submit_update_rslist_task
if (OB_SUCC(ret) && server == self_addr_) {
if (OB_SUCC(ret)) {
if (!in_service()) {
LOG_INFO("self is not RS, need not submit update rslist task in update_all_server_task",
K(server));