Repository navigation
Description
Is there an existing issue for the same bug?
- I have checked the existing issues.
Issue #26242 tracked a different TestCkpLeak checkpoint-wait timeout and is
already closed. Issue #26308 reports the same replay panic signature through a
different reproducer, but does not track this active UT failure.
Branch Name
main / PR #26204 branch issue-24359-main
Commit ID
8d6fe91b718c7fc7fee8c3d6bd52c49c9ef4322b
Other Environment Information
- Hardware parameters: 8-core / 16 GiB GitHub runner
- OS type: Ubuntu / x86
- Others: MatrixOne CI unit-test jobActual Behavior
TestCkpLeak panicked while reopening TAE in
run 30428710967/job 90500816901:
panic: ExpectedEOB
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/txn/txnimpl.
(*replayTxnStore).registerPreparedDMLTables
pkg/vm/engine/tae/txn/txnimpl/replaystore.go:117
The selected checkpoints were replayed with "max-table-id": 0 and
"object-count": 0. WAL replay then tried to register a prepared DML table
that was not present in the recovered catalog and panicked on ExpectedEOB.
This failure is independent of PR #26204. The PR changes ordered
GROUP_CONCAT planning, compilation, aggregation, protocol metadata, and
tests; it does not modify TAE checkpoint, catalog, WAL, or replay code.
Expected Behavior
TestCkpLeak should reopen the database without a replay panic. A missing
catalog entry encountered during WAL replay must be handled consistently
without terminating the test process.
Steps to Reproduce
.agents/skills/mo-dev/scripts/mo-cgo-test \
-run '^TestCkpLeak$' -count=3 \
./pkg/vm/engine/tae/db/testThe exact test passed 3/3 locally at the failing commit, so the failure is
timing-dependent. The linked CI run preserves the failing replay interleaving.
Additional information
This is not the timeout fixed under #26242. That issue failed while waiting for
checkpoint quiescence; this failure reaches database reopen and panics inside
registerPreparedDMLTables.
The panic signature overlaps the recovery problem in #26308 and may share its
underlying checkpoint/catalog selection bug. This issue tracks the concrete
TestCkpLeak CI case independently.
Activity
matrix-meow commentedon Jul 29, 2026
Recurrence: PR #26217 (fix flow control, main). panic: ExpectedEOB at replaystore.go:117.
ck89119 commentedon Jul 29, 2026
Verified fixed on main at e457c23 by #26379.
The fix updates TestCkpLeak to create the database and relations through helpers that persist the required system catalog rows, and refreshes the DB reference after restart. On the merged main head, the original TestCkpLeak passed 10/10 local repetitions (11.951s), and the required MatrixOne CI checks passed.
This closes the concrete TestCkpLeak CI failure tracked here. The broader production close/reopen recovery problem with the same ExpectedEOB signature was not changed by #26379 and remains tracked in #26308.