Failed DML in RC pessimistic transaction may break data consistency #43294
Labels
affects-7.1
severity/critical
sig/transaction
SIG:Transaction
type/bug
The issue is confirmed as a bug.
SURPRISE!
1. Minimal reproduce step (Required)
Case 1:
Case 2:
2. What did you expect to see? (Required)
Everything goes well, and the transaction
t1
in both cases should see the result of transactiont2
.3. What did you see instead (Required)
For case 1, assertion failed.
For case 2, assertion fails too. If assertion is disabled, it leads to data inconsistency.
It's likely to be caused by the failed DML not correctly cleaning the membuffer or the value cache of BatchPointGet.
4. What is your TiDB version? (Required)
master (cd33faf)
The first report of this problem is on a20e7fd which is included in 7.1 branch. Whether it affects older versions is not confirmed yet.
The text was updated successfully, but these errors were encountered: