pingcap / pingcap/tidb

txn: the write conflict is not detected as expected

Open
#54,599 0 comments 0 reactions 0 assignees View on GitHub
sig/transaction type/question
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!

The problem
![image](https://github.com/user-attachments/assets/9572ce79-5876-4b24-90d8-2b8bde4ed64b)

### 1. Minimal reproduce step (Required)

No direct reproduction step by now, need more investigations.

### 2. What did you expect to see? (Required)
The `select for update` detects conflict.

### 3. What did you see instead (Required)
The `select for update` in session 2 does not detect the write conflict as expected.

### 4. What is your TiDB version? (Required)
v6.5.9

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.