Repository navigation
[4.2-dev] fix(tae): propagate checkpoint fallback read errors on 4.2 - #32866
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? |
|
Queue requested — the merge queue status continues in this comment ↓. |
|
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: 89958c95eaa0ae48b2146050bf67ee582bfd5995
Assessment: approve
The fix propagates checkpoint fallback read failures before IDs are published, reusing existing cleanup and error handling without adding production mechanisms. No actionable findings remain.
Model: gpt-6.1-sol / max
Session: 01a1a004-9884-72c0-ad39-f096c4209c4a · slot 1 · generation 0
Validation:
-
Reviewed the complete delta, relevant owners and consumers, linked issue and all discussion entries.
-
Isolated RPC package tests passed normally and with -race: 35 passed and 2 existing skips in each run.
-
All three new regression scenarios passed, including 90 focused race repetitions.
-
The same-test baseline control passed the success case and failed both error cases as expected.
-
Preflight, native provenance, formatting and whitespace checks passed. Retained logs and source/exit receipts are reconciled in validation-audit.json.
Limitations:
-
Existing skips: TestHandle_MVCCVisibility and Test_gcArg.
-
Validation covered real checkpoint fixtures, without an end-to-end synchronization workload.
✅ Merged into
|
What type of PR is this?
Which issue(s) this PR fixes:
Fixes #32867.
Narrow 4.2-dev backport of the checkpoint-read error propagation already present in main via PR #29685 (d0e7f9a).
What this PR does / why we need it:
When a checkpoint has no table-ID index, changed-table discovery falls back to reading checkpoint data. An object-read error was discarded, allowing the handler to return a successful empty or partial changed-table list. Propagate that error before publishing the response. Existing catalog lookup behavior is preserved.
The regression writes real checkpoint objects and injects a read error through the file service. It covers a complete successful list, failure on the first data read, and failure after a previous checkpoint contributed a table ID. Both error cases fail through the complete handler before the fix and pass after it with the same test source.
Validation on an isolated Linux builder: focused regression and owning rpc package pass (35 top-level tests passed; 2 existing tests skipped), gofmt, diff whitespace check and go vet pass. Focused race also passes (all three scenarios); changed-package golangci-lint reports 0 issues. The linter needed an environment-only workaround for its standard-library ReleaseTags probe inheriting -modfile; project loading continued to use the verified module file and unchanged dependency bytes.
This fixes a correctness prerequisite. It does not introduce a public changed-table-list API or claim an end-to-end synchronization speedup.