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
Job: Matrixone Standlone CI / multi CN e2e BVT Test on Linux/x64 (COMPOSE, PESSIMISTIC).
The only failing assertion was test/distributed/cases/ddl/comprimary_key.sql line 34:
insert into cpk_table_2 select * from ex_table_cpk;
The first insert succeeded. The second identical insert was expected to return a Duplicate entry error for the composite primary key, but mo-tester received null, meaning the statement unexpectedly succeeded without an error. The file result was 70 success, 1 failure.
Expected behavior
The second insert of the same four external-table rows must deterministically fail with a duplicate composite-primary-key error in pessimistic multi-CN mode.
Reproduction attempts
The exact failing head was clean-built and run against fresh real services:
single-CN: the complete 71-statement file passed 21 consecutive iterations;
two-CN local cluster through its proxy plus both direct CN endpoints: all corrected-resource runs passed, including 50 consecutive proxy iterations;
total valid exact-failing-head iterations: 74, all 71/71;
after rebasing the unrelated PR commits unchanged onto main 62550af, another 20 consecutive two-CN proxy iterations passed 71/71.
The public resource path was mounted inside the service container for all reported valid runs. Earlier runs with a host-only resource path were discarded as invalid fixture evidence.
Scope analysis
PR #27889 changes planner singleton-group ORDER BY elimination and INTERVAL binding guards. It does not change DDL, primary-key deduplication, INSERT SELECT execution, lock service, transaction commit, logtail, or storage code. The failing statement has no GROUP BY, aggregate, ORDER BY, LIMIT, or INTERVAL expression, so the PR transformation is inapplicable. The same PR head passed the other formerly failing function and optimizer BVT cases in the exact CI job.
This currently looks like a low-probability pessimistic multi-CN visibility/dedup timing failure. That is an inference, not a proven root cause; transaction/DML owner investigation is needed.
Related history
#18316 also reported occasional failures in comprimary_key.sql, but its signature was a different duplicate-key index name, not a missing duplicate error, so this issue records the new failure separately.
Activity
XuPeng-SH commentedon Aug 31, 2026
already fixed by #27890