Skip to content

[Bug]: PROXY multi-CN pipeline intermittently drops composite-key INSERT SELECT errors #28277

Closed

Description

@gouhongshen

Is there an existing issue for the same bug?

  • I have checked the existing issues.

This is a fresh recurrence of the failure signatures recorded in #27115 and #27918. Both issues are closed, so neither can track the current unresolved CI blocker.

Branch Name

agent/issue-24099-21c27da8

Commit ID

6893b29606e6adb36a3ce30df36cea4038a9ecad

Other Environment Information

  • Hardware parameters: GitHub-hosted runner
  • OS type: Ubuntu (GitHub Actions)
  • Others: multi-CN Docker Compose topology through Proxy; failed job

Actual Behavior

The PROXY BVT ran 869 scripts and failed only test/distributed/cases/ddl/comprimary_key.sql line 59. The second identical statement

insert into cpk_table_5 select * from ex_table_cpk;

was expected to return a composite-primary-key duplicate error, but mo-tester received a successful empty result:

EXPECT RESULT:
Duplicate entry '(.*)' for key '(.*)'[12,0,0]
ACTUAL RESULT:
null

The execution CN did detect the failure at 2026-09-06 04:53:20.492947:

dedupjoin/join.go:954 error: Duplicate entry '(600,700,56,message,602.53,[email protected])' for key '(col6,col7,col8,col18,col16,col19)'

The same execution then logged query interrupted, followed by repeated connector-cleanup failures to deliver the terminal Error signal with pipeline_failed=true and the duplicate-key error. The client-facing side never received that error.

This is the same remote-pipeline terminal-error-loss signature as #27115, now reproduced for cpk_table_5. #27918 records the related missing-error symptom for another composite-key table.

Expected Behavior

The duplicate-key error detected by the execution CN must reach the SQL client. Remote pipeline interruption or cleanup must not convert a failed INSERT into success.

Steps to Reproduce

  1. Start a multi-CN MatrixOne Docker Compose cluster with Proxy.
  2. Run test/distributed/cases/ddl/comprimary_key.sql with mo-tester.
  3. Let the case populate ex_table_cpk, create cpk_table_5, and execute the same INSERT ... SELECT twice.
  4. Observe intermittently that the execution CN detects the duplicate while mo-tester receives null instead of an error.

Additional information

  • Workflow run 34012095841, attempt 1, exact head 6893b29606e6adb36a3ce30df36cea4038a9ecad.
  • Neighboring duplicate checks for cpk_table_1, cpk_table_2, cpk_table_3_pk, cpk_table_4, and cpk_table_6 propagated their expected errors in the same run.
  • The same workflow's multi-CN PESSIMISTIC BVT passed.
  • PR fix(frontend): keep data branch update staging retryable #28271 changes only Data Branch internal SQL routing and Data Branch tests. This failing statement is ordinary DDL BVT INSERT ... SELECT and never enters that changed path.
  • The Coverage job failed only because this required PROXY producer failed; its log says coverage merge was skipped because a required producer was skipped or failed.

Activity

  1. self-assigned this
    on Sep 6, 2026
  2. added
    kind/bug
    severity/s0
    ai-easy
    and removed on Sep 6, 2026
  3. gouhongshen commented on Sep 6, 2026

    @gouhongshen
    ContributorAuthor

    PR #28278 is trying to fix this issue.

  4. gouhongshen commented on Sep 6, 2026

    @gouhongshen
    ContributorAuthor

    PR #28278 has merged and is awaiting manual validation. The issue remains open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ai-easykind/bugseverity/s0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions