You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2 sessions both with @@tidb_constraint_check_in_place_pessimistic = 0
session 1: begins a pessimistic transaction select for update read a non-existent row
session 2: begins a pessimistic transaction, insert 2 rows, one of which is the row read above. Commit.
session 1: read the second row session just inserted to update its for_update_ts, and then update the row it has locked before. Commit.
2. What did you expect to see? (Required)
No assertion error.
3. What did you see instead (Required)
session 1: assertion failure
4. What is your TiDB version? (Required)
6.3.0
The text was updated successfully, but these errors were encountered:
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2 sessions both with
@@tidb_constraint_check_in_place_pessimistic = 0
session 1: begins a pessimistic transaction
select for update
read a non-existent rowsession 2: begins a pessimistic transaction, insert 2 rows, one of which is the row read above. Commit.
session 1: read the second row session just inserted to update its for_update_ts, and then update the row it has locked before. Commit.
2. What did you expect to see? (Required)
No assertion error.
3. What did you see instead (Required)
session 1: assertion failure
4. What is your TiDB version? (Required)
6.3.0
The text was updated successfully, but these errors were encountered: