Skip to content

[Bug]: TestMultiClusterCanWork panics after logservice connection reset in UT #26482

Closed

Description

@ck89119

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

22e4b7c

Other Environment Information

GitHub Actions UT on Ubuntu/x86, run 30554928872.

Actual Behavior

TestMultiClusterCanWork fails while starting an embedded cluster. The logservice connection is reset during CN bootstrap, and cnservice.handleBootstrapErr panics.

Expected Behavior

The embedded multi-cluster test should start and stop cleanly without a CN bootstrap panic.

Steps to Reproduce

  1. Run the Ubuntu/x86 UT workflow at commit 22e4b7c.
  2. Observe TestMultiClusterCanWork in pkg/embed.

Additional information

CI run: https://github.com/matrixorigin/matrixone/actions/runs/30554928872

Key signature: writeto tcp4 ... 127.0.0.1:10580: read: connection reset by peer, followed by a panic in pkg/cnservice/server.go.

Activity

  1. self-assigned this
    on Jul 31, 2026
  2. added
    kind/bug
    severity/s0
    and removed on Jul 31, 2026
  3. ck89119 commented on Jul 31, 2026

    @ck89119
    ContributorAuthor

    Verified on current mo/main (918846526e6ce707d245f28c88c235a1b3fadc19). The bootstrap connection-reset path was already fixed by PR #26381 (0bf3b2e3b0): bootstrap retries are phase-aware, bootstrap lock allocation is idempotent with a stable CN request ID, and uncertain transaction commits are reconciled without replaying initialization SQL. Focused bootstrap and CN/HAKeeper regressions passed with -race -count=5, and TestMultiClusterCanWork passed three consecutive runs. Closing as fixed.

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

Metadata

Metadata

Assignees

Labels

kind/bugseverity/s0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions