提交 1800b15f 编写于 作者: C chinaxing 提交者: wangzelin.wzl

[FIX] read row locked by current transaction need check in case of leader revoked

上级 67e7063c
......@@ -306,6 +306,8 @@ bool ObMvccValueIterator::read_by_sql_no(
} else {
can_read_by_sql_no = true;
}
} else if (ctx.is_for_replay() && !iter->is_committed() && iter->get_ctx_descriptor() == ctx.get_ctx_descriptor()) {
can_read_by_sql_no = true;
}
if (can_read_by_sql_no) {
if (query_flag.is_read_latest()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册