data anomalies for pessimistic transactions
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
I ran the same histroy by both optimistic and pessimistic transactions, but got different results.
Optimistic transaction:

Pessimistic transaction:

### 2. What did you expect to see? (Required)
One of the pessimistic transactions should be aborted. The results for the same history ran by optimistic and pessimistic transactions should be consistent.
### 3. What did you see instead (Required)
The results for the same history ran by optimistic and pessimistic transactions are different. All pessimistic transactions are committed successfully and the mistaken final values for each row entry indicate the data anomaly.
### 4. What is your TiDB version? (Required)
v5.4.0
Contributor guide
Assessment
This issue has not been assessed yet.