The migration task judges whether the ls is a valid member by sending rpc to the leader of the ls

This commit is contained in:
WenJinyu
2023-08-10 04:12:36 +00:00
committed by ob-robot
parent e0a0ce93bd
commit 3c91389ff2
11 changed files with 210 additions and 25 deletions

View File

@ -2221,7 +2221,7 @@ int ObLS::set_ls_rebuild()
ObLSLockGuard lock_myself(this, lock_, read_lock, write_lock, try_lock);
if (!lock_myself.locked()) {
ret = OB_EAGAIN;
ret = OB_LS_LOCK_CONFLICT;
LOG_WARN("try lock failed, please retry later", K(ret), K(ls_meta_));
} else if (IS_NOT_INIT) {
ret = OB_NOT_INIT;