[CP] [4.0] retry lock in offline of tablet gc handler

This commit is contained in:
obdev
2022-11-25 10:40:26 +00:00
committed by wangzelin.wzl
parent 842dc28be7
commit 5697e0f25b
3 changed files with 13 additions and 6 deletions

View File

@ -698,7 +698,8 @@ int ObLS::offline_()
LOG_WARN("lock table offline failed", K(ret), K(ls_meta_));
} else if (OB_FAIL(ls_tablet_svr_.offline())) {
LOG_WARN("tablet service offline failed", K(ret), K(ls_meta_));
} else if (FALSE_IT(tablet_gc_handler_.offline())) {
} else if (OB_FAIL(tablet_gc_handler_.offline())) {
LOG_WARN("tablet gc handler offline failed", K(ret), K(ls_meta_));
} else {
// do nothing
}