Repository navigation
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
This pull request is merged. |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: d3d6222d47695015b4af7bf33292565a0c89e11f
Assessment: approve
The fixture-local GC opt-out and existing bounded wait preserve automatic checkpoint progress and the exact two-block assertion while removing a redundant scan. No actionable findings.
Model: gpt-6.1-sol / max
Session: 01a1e395-a6d9-7ad1-bf20-81f1c6210100 · slot 2 · generation 0
Validation:
-
Reviewed both changed hunks, relevant fixture/wait/catalog owners, all three discussion entries and both linked issues. Source/provenance audit passed; source remains unchanged.
-
Private /tmp and loopback preflight passed. Built required native dependencies through unchanged repository Makefiles; retained matching input/artifact ledgers.
-
TestCheckpoint1 passed under race, followed by three successful repetitions using T=8.36s, B=30s and N=3.
-
Owning package passed with -race -short -tags=matrixone_test: 261 test/subtest passes and 13 existing skips.
-
Normal TestCheckpoint1, TestCheckpoint2 and TestGCCatalog2 passed. Command/source/exit receipts and retained logs are reconciled in validation-manifest.json.
Limitations:
-
Local checks used Go 1.26.6. UT and SCA remain pending in the supplied CI snapshot.
-
The author-reported controlled baseline failure was not independently reproduced.
## What type of PR is this? - [x] Test and CI ## Which issue(s) this PR fixes: Refs #32907 and #32908. Related CI tracking: #32810 and #32744. ## What this PR does / why we need it: The missing-table subscription test could exhaust its shared five-minute deadline while repeating 1,000 mock RPC exchanges. Two exchanges on the same missing table now demonstrate cleanup and resubscription. The checks for the typed missing-table response, unaffected valid subscription, and pending-state recovery remain. The state-machine test continues to exercise cleanup 1,000 times. The authorization test could connect to a different CN before that CN had applied the user-creation commit. Reuse the fixture's context-bounded commit fence at dependent cross-CN login, DDL, and snapshot steps. Existing authorization and retained-session assertions are preserved. The delta is confined to tests. #32837 already addressed the checkpoint observation in #32810. The remaining control-plane cases in #32810 and tracker entries in #32744 retain their own validation criteria. Validated on Linux/amd64 with Go 1.26.4 and matching CGo libraries: - Both edited packages passed their complete tagged short-mode race runs. The subscription integration test passed 20 race repetitions, the authorization parent passed three, and the existing 1,000-cycle cleanup test passed. - The authorization parent passed set coverage with frontend, CN service, transaction client, and disttae instrumentation. Normal subscription, formatting, vet, and branch-pinned incremental static analysis passed. - The original CI failures did not recur in focused tests on the clean base. Full CI on this PR is pending.
What type of PR is this?
Which issue(s) this PR fixes:
Related to #32810 (the checkpoint observation failure only).
Related to #27327.
What this PR does / why we need it:
TestCheckpoint1waits one second for asynchronous flushing and then resamples the catalog. In the 4.2-dev CI failure, the flush completed after the assertion. The fixture also enables catalog GC every millisecond, so it can reclaim the old object while the test is observing the two-block state.Disable catalog GC only in this test, use the existing bounded checkpoint wait, and assert the exact last sample that ended the wait. This backports the fixture isolation and wait used by #27376, while removing the redundant second scan. Automatic flushing/checkpointing and the exact two-block assertion remain in place. The existing wait helper polls every 300 ms at this bound; single focused race runs took 0.32 s after the change and 0.07 s before it locally; these are not benchmark results. No production path changes.
Validation on Linux/amd64, Go 1.26.4:
TestCheckpoint1race test passed once and in 93 bounded repetitions.TestCheckpoint1,TestCheckpoint2, and GC-enabledTestGCCatalog2passed.gofmt,go vet,molint, and configuredgolangci-lintpassed.This addresses the checkpoint observation failure in #32810, not its separate control-plane and connection failures.