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? |
|
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: 3c61f5c6098c89914c6fbdf295c998f1d7906d98
Assessment: approve
Immutable payload reuse now follows creation time while appendable flush handling and visibility metadata remain intact. The narrow correction reuses the existing backup-chain protocol; no actionable defects found.
Model: gpt-6.1-sol / max
Session: 01a1a004-9884-72c0-ad39-f096c4209c4a · slot 1 · generation 0
Validation:
-
Reviewed the complete delta, both discussion entries and linked issues #32169–#32171; traced checkpoint readers, backup selection/copy/manifest, data-sync and GC consumers.
-
Reused supplied exact-head CI: Ubuntu/x86 UT, Linux/arm64 SCA, UT coverage and two multi-CN BVT configurations succeeded. Overall: 13 successful, 14 skipped and 2 neutral completed checks.
-
Reviewed the real-checkpoint regression and existing skipped-source/missing-required-source test oracles. The author additionally reports owning-package suites and eight indexed/non-indexed restores.
-
Local read-only audit passed: frozen head, clean source, matching delta, diff whitespace, gofmt and complete discussion coverage. Receipt: checks/1793853085924279663-2.json; retained log: source-audit.log.
Limitations:
❌ Left the queue ·
|
🚫 Left the queue · pull request dequeued1 h 24 min in the queue, with no time running CI. So far
Reason Pull request #32172 has been dequeued Pull request from fork cannot be queued. This pull request comes from a fork, and Mergify needs the author's permission to update its branch.
To get back in the queue
Merge conditions not met when it left the queue
Tick the box to put this pull request back in the merge queue (same as
2 merge conditions met
Times in UTC · dashboard · how the merge queue works |
What type of PR is this?
Which issue(s) this PR fixes:
Fixes #32169
What this PR does / why we need it:
An immutable object's later DeleteTS must not turn its existing payload into a new incremental-backup copy. That unnecessary source read can fail after GC even though an earlier backup already contains the file.
Use CreateTS for immutable-object copy selection and retain the flush/drop check for appendable objects. Keep full-backup behavior, CreateTS/DropTS, GC/visibility decisions, required-file errors and archive/index formats unchanged. The production change is confined to
LoadCheckpointEntriesFromKey.Add a real checkpoint writer/reader regression covering data/tombstone and appendable/immutable objects, full/consecutive-incremental selection, logical timestamp boundaries, unflushed objects and mandatory checkpoint files. It fails on the old predicate and passes with this fix.
Tested with:
pkg/vm/engine/tae/logtailandpkg/backupsuites passed.84cb6f7generated the index and restored four backup points with and without index lookup (8 successful restores), checking every manifest file's content, all typed rows and a fresh restart.tae_list. A corrupted in-memory index canary was rejected by independent file checks.Limits: this requires a valid backup chain. Existing mo-backup false-success and dangling-index behavior is tracked separately in #32170 and #32171; this PR neither invents directory mappings nor repairs a damaged chain. No production deployment or mutation was performed.