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
{{ message }}
Repository navigation
[Bug]: TestGlobalCheckpoint2 intermittently observes a pending LSN after checkpoint completion #25931
- Hardware parameters: GitHub-hosted runner
- OS type: Ubuntu / x86
- Others: Matrixone CI unit-test job
Actual Behavior
The Ubuntu/x86 unit-test job failed in TestGlobalCheckpoint2.
After ForceCheckpoint and ForceGlobalCheckpoint, the test waits for AllCheckpointsFinished() and then immediately asserts that the scheduler
pending LSN count is zero. In this run, both assertions observed one pending
LSN:
pkg/vm/engine/tae/db/test/db_test.go:8248
expected: 0x0
actual : 0x1
pkg/vm/engine/tae/db/test/db_test.go:8254
expected: 0x0
actual : 0x1
Test: TestGlobalCheckpoint2
This is unrelated to PR #25089: that PR does not modify pkg/vm/engine/tae, checkpoint, WAL, or scheduler code. The same test has
also failed historically in #20008 and #21721.
Expected Behavior
TestGlobalCheckpoint2 should deterministically wait until all
checkpoint-related asynchronous work, including pending LSN processing, has
completed before asserting the pending count.
The local stress run passed 10/10 at the same PR head, indicating a
low-probability timing-dependent failure.
Additional information
The test currently waits for AllCheckpointsFinished(), but that condition
did not guarantee Runtime.Scheduler.GetPenddingLSNCnt() == 0 in the failing
CI run. Consider waiting explicitly for the pending LSN count or tightening
the completion contract so the assertion cannot race asynchronous scheduler
cleanup.
Activity
test(tae): wait for checkpoint completion consistently (#25953)
jiangxinmeng1 commentedon Jul 22, 2026
fixed by #25953
matrix-meow commentedon Jul 23, 2026
Recurrence: PR #25899 (fix temporal part 2, main). 11.01s.
Agent/fix checkpoint wait boundary (#26283)
jiangxinmeng1 commentedon Jul 30, 2026
fixed by #26283
test(tae): wait for checkpoint completion consistently (matrixorigin#…
Agent/fix checkpoint wait boundary (matrixorigin#26283)
test(tae): wait for checkpoint completion consistently (matrixorigin#…
Agent/fix checkpoint wait boundary (matrixorigin#26283)
test(tae): wait for checkpoint completion consistently (matrixorigin#…
Agent/fix checkpoint wait boundary (matrixorigin#26283)