-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.component/tiflashimpact/inconsistencyincorrect/inconsistency/inconsistentincorrect/inconsistency/inconsistentmay-affects-6.1may-affects-6.5may-affects-7.1may-affects-7.5severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
1. Minimal reproduce step (Required)
CREATE TABLE t0(c0 DECIMAL ZEROFILL);
CREATE TABLE t1 (c0 BLOB);
INSERT IGNORE INTO t0 VALUES(-1749300172);
INSERT INTO t1 VALUES('aa'), ('-0.0');
ALTER TABLE t0 SET TIFLASH REPLICA 1;
ALTER TABLE t1 SET TIFLASH REPLICA 1;
SELECT COUNT(*) FROM t1 NATURAL JOIN t0; -- {1}This query should return {2} if we execute the query immediately after ALTER statements.
However, if we wait until the tables t0 and t1 are copied into TIFLASH (5 seconds in my machine) and then execute the query, it returns {1}.
2. What did you expect to see? (Required)
{2}
3. What did you see instead (Required)
{1}
4. What is your TiDB version? (Required)
tiup playground nightly --host 0.0.0.0 --kv 3 --tiflash 3
8.0.11-TiDB-v9.0.0-beta.1.pre-554-gb1a5536a64-dirtyReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.component/tiflashimpact/inconsistencyincorrect/inconsistency/inconsistentincorrect/inconsistency/inconsistentmay-affects-6.1may-affects-6.5may-affects-7.1may-affects-7.5severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.