txn: Unexpected transaction behavior when tidb connection got killed. #31203
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
severity/major
sig/transaction
SIG:Transaction
type/bug
The issue is confirmed as a bug.
Bug Report
1. Minimal reproduce step & What did you expect to see? & What did you see instead?
Then either mysql client 1 or mysql client 2 should be blocked, but occationally, neither of them did.
And in that situation, if you try to commit both of them, txn in mysql client 1 will commit successfully, txn in mysql client 2 will report
PessimisticLockNotFound
.2. What is your TiDB version? (Required)
Found on all 4.0 and 5.0 versions.
Note: still exists when
pessimistic-txn.pipelined='false';
The text was updated successfully, but these errors were encountered: