-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
component/tablepartitionThis issue is related to Table Partition of TiDB.This issue is related to Table Partition of TiDB.feature/developingthe related feature is in developmentthe related feature is in developmentseverity/majorsig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
create table t(a int, b int, unique index(b), primary key(a)) partition by hash(a) partitions 5;
insert into t values (1,1),(2,2),(3,3),(4,4),(5,5);
begin;
select * from t use index(b) where b = 2 order by b limit 1 for update;
-- create another session
update t set b = 7 where b = 2;2. What did you expect to see? (Required)
update blocked
3. What did you see instead (Required)
update success
4. What is your TiDB version? (Required)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component/tablepartitionThis issue is related to Table Partition of TiDB.This issue is related to Table Partition of TiDB.feature/developingthe related feature is in developmentthe related feature is in developmentseverity/majorsig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.