Skip to content

[4.2-dev] fix(tae): propagate checkpoint fallback read errors on 4.2 - #32866

Merged
mergify[bot] merged 1 commit into
matrixorigin:4.2-devfrom
LeftHandCold:codex/changed-table-checkpoint-errors-42-20261117
Nov 17, 2026
Merged

mergify[bot] merged 1 commit into
matrixorigin:4.2-devfrom
LeftHandCold:codex/changed-table-checkpoint-errors-42-20261117

Conversation

@LeftHandCold

@LeftHandCold LeftHandCold commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

What type of PR is this?

  • BUG
  • API-change
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

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.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@mergify

mergify Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Queue requested — the merge queue status continues in this comment ↓.

@XuPeng-SH XuPeng-SH changed the title fix(tae): propagate checkpoint fallback read errors on 4.2 [4.2-dev] fix(tae): propagate checkpoint fallback read errors on 4.2 Nov 17, 2026
@XuPeng-SH

XuPeng-SH commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

mo-bot review · mo-bot-local · done

Commit: 89958c95eaa0ae48b2146050bf67ee582bfd5995

Review completed. Read the assessment.

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@mergify mergify Bot added the queued label Nov 17, 2026
@mergify
mergify Bot merged commit 1f9b52e into matrixorigin:4.2-dev Nov 17, 2026
@mergify

mergify Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

✅ Merged into 4.2-dev as 1f9b52e at 16:14 UTC

Less than a minute in the queue, with no time running CI.

So far

  • ✅ Entered the queue Tue 17 Nov, 16:14 · rule release-4.2 · triggered by rule Automatic queue on approval for release-4.2
  • ✅ Checks skipped · PR is already up-to-date
  • ✅ Merged 16:14 · 1f9b52e · squash
3 merge conditions met
  • #review-threads-unresolved = 0 · required by GitHub branch protection
  • github-review-approved · required by GitHub branch protection
  • any of · required by GitHub branch protection:
    • check-success = CI Required
    • check-neutral = CI Required
    • check-skipped = CI Required

Times in UTC · dashboard · how the merge queue works

@mergify mergify Bot removed the queued label Nov 17, 2026

This branch was previously deployed

1 inactive deployment
ci — 89958c95 Deployed Nov 17, 2026 by XuPeng-SH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working size/M Denotes a PR that changes [100,499] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants