Repository navigation
fix(multi_update): abort incomplete S3 tombstones - #29343
Merged
XuPeng-SH merged 2 commits intoSep 24, 2026
Merged
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? |
XuPeng-SH
commented
Sep 24, 2026
XuPeng-SH
left a comment
Contributor
Author
There was a problem hiding this comment.
Reviewed current head f5d2070 against main and merge-base 2f25834. No blocking findings. Checked rowid/PK append rollback, delayed dedup publication, BatchSet failure ownership, and reset/free paths. The focused allocation-failure regression and successful exact-head CI run 35987212562 support this fix. COMMENT only because this is self-authored.
2 of 4 tasks
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Which issue(s) this PR fixes:
Fixes #29256
What this PR does / why we need it:
Treat each S3 tombstone
(rowid, PK)append as a row-level transaction. Return either allocation error, roll back both vector checkpoints (including partial varlen PK appends), and mark the deduplication bitmap only after a complete pair is committed. Clean temporary collected batches if a later BatchSet merge fails. Previously DELETE/UPDATE could report success with missing tombstones.A capped-MPool regression reproduced silent success on main for rowid and PK failures. It now covers rowid, fixed PK and varlen PK-area failures, followed by retry and deduplication. Full multi_update and downstream mergeblock package tests, build, vet, and scoped golangci-lint passed.