Repository navigation
Description
Is there an existing issue for the same bug?
- I have checked the existing issues.
Branch Name
main (PR #26442 merge-head)
Commit ID
- Tested merge-head:
c0340ad52da15afeda824f7cb2f2a6f05f849ec5 - Base main:
ae2785f09f39292d4ec73bff772e0a0256a68da9 - Current-main audit:
23b155387d5498feafbee5d2f095570eb8295f2b
Other Environment Information
- GitHub Actions: Matrixone CI / UT Test on Ubuntu/x86
- Run/job: https://github.com/matrixorigin/matrixone/actions/runs/30734431537/job/91460521272
- Test:
Test_CheckpointChaos1 - Runner: Linux/amd64
Actual Behavior
Test_CheckpointChaos1 intentionally injects a checkpoint-save error through objectio.InjectCheckpointSave. The injected save failure is expected. The failure path, however, must restore object storage to its pre-checkpoint snapshot.
The job retried the failed ICKP three times, exhausted the one-second force-checkpoint context, then found one extra object after the failure:
expected: []
actual: ["019fc10c-d913-7295-9790-bd6d906344fa_00000:false:760"]
The relevant log sequence is:
ICKP-Execute-Error phase=save-ckp rollback-object-count=2
ICKP-Schedule-Force-End retry-count=3 no-progress-retries=3 error=context deadline exceeded
ICKP-Control-Force-End error=context deadline exceeded
PR #26442 changes only foreign-key planning/MULTI_UPDATE code. Its merge-head already contains #26546, so this failure is independent of the FK change.
A current-main audit finds no subsequent changes to the checkpoint cleanup implementation or Test_CheckpointChaos1; therefore latest main has no demonstrated fix.
Expected Behavior
When ICKP publication fails before metadata ownership transfers, every data and table-ID object persisted for that attempt must be removed. Retrying the failed checkpoint must not leave objects behind, and the filesystem snapshot after failure must equal the snapshot before the attempt.
Steps to Reproduce
- Check out
c0340ad52da15afeda824f7cb2f2a6f05f849ec5(or a descendant with the same checkpoint code). - Run
Test_CheckpointChaos1inpkg/vm/engine/tae/db/test. - The test enables the checkpoint-save fault injection and calls
ForceCheckpointwith a one-second context. - Observe the expected save failures followed by a filesystem snapshot mismatch containing one leftover unpublished object.
Additional information
The test assertion is at pkg/vm/engine/tae/db/test/db_test.go:9308 in the tested merge-head. The Docker socket warnings at job startup are explicitly ignored by the workflow and are unrelated to the test failure.
Activity
matrix-meow commentedon Aug 3, 2026
Recurrence: PR #26607 (fix insert ignore, main). 1.16s.
gouhongshen commentedon Aug 3, 2026
Recurrence on the unrelated Ubuntu UT job for PR #26504 at exact head
74cef706ec05471643afb24102edc3c034648e48(the PR changes only Data Branch frontend code and its BVT):Test_CheckpointChaos1failed atpkg/vm/engine/tae/db/test/db_test.go:9308.context deadline exceeded, then the filesystem snapshot mismatch.This is the same checkpoint rollback failure tracked here and is independent of PR #26504.
fix(frontend): preserve non-finite data branch floats (#26504)
aptend commentedon Aug 4, 2026
Recurrence on the unrelated Ubuntu/x86 UT job for PR #26669 at exact head
f7c755a10ba5506893c24ff1a6ad6eaedb30ad35:Test_CheckpointChaos1pkg/vm/engine/tae/db/test/db_test.go:9308019fcb31-24b1-7ec7-88d8-2709cf9fa9b6_00000:false:760retry-count=3,no-progress-retries=3, andcontext deadline exceededbefore the filesystem snapshot mismatch.This head merges main commit
903546263ff9bd976e5a4ab55c73a41200b3fae1as its second parent, so the recurrence is after that referenced commit was included. That commit is the Data Branch float fix from #26504 and explicitly contains no workaround for #26583. PR #26669 only changes allocation capacity-class width and its focused test; it does not touch TAE checkpoint code.fix(test): wait for failed ICKP cleanup (#26679)
fix(frontend): preserve non-finite data branch floats (matrixorigin#2…
fix(test): wait for failed ICKP cleanup (matrixorigin#26679)
fix(frontend): preserve non-finite data branch floats (matrixorigin#2…
fix(test): wait for failed ICKP cleanup (matrixorigin#26679)
fix(frontend): preserve non-finite data branch floats (matrixorigin#2…
fix(test): wait for failed ICKP cleanup (matrixorigin#26679)