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
The target captured by WaitAllCheckpointsFinished has already been checkpointed (203 >= 201), but the helper also re-reads the live global watermark through AllCheckpointsFinished. A later WAL entry (204) therefore makes the predicate false and moves the finish line while the test is waiting.
This is independent of PR #26025: that PR changes only pkg/sql/compile, while the failing test binary has no dependency on that package.
Expected Behavior
The helper must wait for the checkpoint fence captured at entry, rather than require global WAL quiescence after concurrently-created entries.
Steps to Reproduce
Run TestAppendAndGC2 under CI scheduling pressure. The assertion above is the proof state: target completion is true while the live, unrelated watermark has advanced.
Additional information
This differs from closed #22024 (older same-name UT failure) and #19813 (data race). The regression was introduced when #25953 combined the fixed target condition with the dynamic global-quiescence predicate.
Activity
matrix-meow commentedon Jul 22, 2026
Recurrence: PR #25815 (fix if, main). target LSN: 201, checkpointed LSN: 201, current LSN: 203, pending LSN count: 2.
matrix-meow commentedon Jul 22, 2026
Recurrence: PR #25899 (fix temporal part 2, main). 10.72s.
test(tae): force scoped checkpoint before GC replay (#26033)
matrix-meow commentedon Jul 22, 2026
Recurrence: PR #25815 (fix if, main, UT Test job).
test(tae): force scoped checkpoint before GC replay (matrixorigin#26033)
test(tae): force scoped checkpoint before GC replay (matrixorigin#26033)
test(tae): force scoped checkpoint before GC replay (matrixorigin#26033)