Fix ob ls migration hold ls lock bug

This commit is contained in:
obdev 2022-10-26 16:34:59 +00:00 committed by wangzelin.wzl
parent 375a52f586
commit cec420270a

View File

@ -331,7 +331,7 @@ int ObLSCompleteMigrationDagNet::update_migration_status_(ObLS *ls)
LOG_WARN("tenant dag scheduler has set stop, stop migration dag net", K(ret), K(ctx_));
break;
} else {
ObLSLockGuard lock_ls(ls);
ObLSLockGuard lock_ls(ls, true/*rdlock*/);
if (OB_FAIL(ls->get_migration_status(current_migration_status))) {
LOG_WARN("failed to get migration status", K(ret), K(ctx_));
} else if (ctx_.is_failed()) {