提交 cec42027 编写于 作者: O obdev 提交者: wangzelin.wzl

Fix ob ls migration hold ls lock bug

上级 375a52f5
......@@ -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()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册