Skip to content

rgw: don't delete a committed object after a post-commit failure - #74065

Open
kchheda3 wants to merge 2 commits into
ceph:mainfrom
kchheda3:wip-rgw-postcommit-no-delete
Open

kchheda3 wants to merge 2 commits into
ceph:mainfrom
kchheda3:wip-rgw-postcommit-no-delete

Conversation

@kchheda3

Copy link
Copy Markdown
Contributor

Fixes: https://tracker.ceph.com/issues/83295

An alternative to #72098 for the same data loss: keep a write whose index completion or olh link fails after the head write, but return a retryable error instead of success, so the client's retry still gets the change replicated. Multipart complete still relies on #72103 or similar.

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

Once the head object is written, a failed bucket index update or olh
link no longer cancels the index entry or lets the writer remove the
tails that the head references.

Fixes: https://tracker.ceph.com/issues/83295
Signed-off-by: Krunal Chheda <[email protected]>
@github-actions

Copy link
Copy Markdown

Config Diff Tool Output

+ added: rgw_debug_inject_index_complete_err (rgw.yaml.in)

The above configuration changes are found in the PR. Please update the relevant release documentation if necessary.
Ignore this comment if docs are already updated. To make the "Check ceph config changes" CI check pass, please comment /config check ok and re-run the test.

@kchheda3

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@kchheda3

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@kchheda3

Copy link
Copy Markdown
Contributor Author

/config check ok

1 similar comment
@kchheda3

kchheda3 commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

/config check ok

@kchheda3
kchheda3 requested review from aclamk, adamemerson, cbodley, mmgaggle and smanjara and removed request for aclamk December 2, 2026 14:12
@kchheda3
kchheda3 marked this pull request as ready for review December 2, 2026 14:14
@kchheda3
kchheda3 requested a review from a team as a code owner December 2, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant