client-java
client-java copied to clipboard
ResolveLocks for pessimistic transaction that has switched primary may break transaction atomicity
Bug Report
1. Describe the bug
Ref: https://github.com/pingcap/tidb/issues/42937
2. How to fix
Requires: https://github.com/pingcap/kvproto/pull/1105 Requires: https://github.com/tikv/tikv/pull/14637
Ref: https://github.com/tikv/client-go/pull/777