[FIX] read row locked by current transaction need check in case of leader revoked
This commit is contained in:
parent
67e7063c4e
commit
1800b15f9b
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user