Skip to content

SimpleRADOSStriper: properly propagate failing writes to the caller - #69198

Merged
batrick merged 1 commit into
ceph:mainfrom
batrick:i77012
Oct 12, 2026
Merged

batrick merged 1 commit into
ceph:mainfrom
batrick:i77012

Conversation

@batrick

@batrick batrick commented May 31, 2026 •

Copy link
Copy Markdown
Member

When an asynchronous write failed immediately in aio_write(), the error was silently masked if no bytes had been written yet. This change tracks the return code and propagates the failure back up to SQLite if no forward progress was made.

Fixes: https://tracker.ceph.com/issues/77012
Assisted-by: Gemini

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.

@batrick

This comment was marked as outdated.

@batrick

This comment was marked as outdated.

@batrick

batrick commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

This PR has been added to main integration testing by pdonnell started 2026-06-09-12:34.

Comment thread src/SimpleRADOSStriper.cc Resolved
@batrick

batrick commented Jul 12, 2026

Copy link
Copy Markdown
Member Author

This PR has been added to main integration testing by pdonnell started 2026-07-12-17:08.

@batrick

batrick commented Jul 12, 2026

Copy link
Copy Markdown
Member Author

This PR has been added to main integration testing by pdonnell started 2026-07-12-17:09.

@batrick

batrick commented Sep 11, 2026

Copy link
Copy Markdown
Member Author

This PR has been added to main integration testing by pdonnell started 2026-09-11-14:00.

@batrick
batrick requested a review from tchaikov September 18, 2026 16:27
When an asynchronous write failed immediately in `aio_write()`, the
error was silently masked and indicated as a partial write. This change
tracks the return code and propagates the failure back up to the SQLite
VFS. Like the SQLite3 VFS API, SimpleRADOSStriper does not allow/report
partial writes.

Fixes: https://tracker.ceph.com/issues/77012
Assisted-by: Gemini
Signed-off-by: Patrick Donnelly <[email protected]>

@tchaikov tchaikov 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.

lgtm

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.

2 participants