Skip to content

osd: remove per-object oid_to_version map from the EC RMW pipeline - #72069

Merged
aainscow merged 1 commit into
ceph:mainfrom
aainscow:wip-80087-ec-oid-to-version
Oct 13, 2026
Merged

aainscow merged 1 commit into
ceph:mainfrom
aainscow:wip-80087-ec-oid-to-version

Conversation

@aainscow

@aainscow aainscow commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

RMWPipeline::oid_to_version recorded the version of the last write to every object the pipeline had ever dispatched, purely to feed an assert that writes to an object are dispatched in version order. Nothing erased entries; only on_change() cleared the map at the end of the interval. On a primary that never changes interval this grows by roughly 250 bytes per distinct object written, which is the multi-GB growth reported with RGW small-object prefill against fast EC.

The ordering the assert checked is structural: the extent cache dispatches ops from a single FIFO in submission order. Remove the map.

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

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.

@aainscow
aainscow requested a review from a team as a code owner September 24, 2026 21:25
@github-actions github-actions Bot added the core label Sep 24, 2026
RMWPipeline::oid_to_version recorded the version of the last write to
every object the pipeline had ever dispatched, purely to feed an assert
that writes to an object are dispatched in version order. Nothing erased
entries; only on_change() cleared the map at the end of the interval. On
a primary that never changes interval this grows by roughly 250 bytes per
distinct object written, which is the multi-GB growth reported with RGW
small-object prefill against fast EC.

The ordering the assert checked is structural: the extent cache
dispatches ops from a single FIFO in submission order. Remove the map.

Fixes: https://tracker.ceph.com/issues/80087
Assisted-by: Claude Code
Signed-off-by: Alex Ainscow <[email protected]>
@aainscow
aainscow force-pushed the wip-80087-ec-oid-to-version branch from 92934f1 to 91a8fd1 Compare September 24, 2026 21:28
@aainscow aainscow mentioned this pull request Sep 24, 2026
4 of 14 tasks
Comment thread src/osd/ECCommon.cc Resolved
@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath19-testing-20261002.123021-main.

@lee-j-sanders

Copy link
Copy Markdown
Member

@aainscow

Copy link
Copy Markdown
Contributor Author

jenkins test api

1 similar comment
@aainscow

Copy link
Copy Markdown
Contributor Author

jenkins test api

@aainscow
aainscow merged commit 8b195b8 into ceph:main Oct 13, 2026
21 of 24 checks passed
@github-actions

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I have resolved the following tracker ticket due to the merge of this PR:

No backports are pending for the ticket. If this is incorrect, please update the tracker
ticket and reset to Pending Backport state.

Update Log: https://github.com/ceph/ceph/actions/runs/38371434082

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.

5 participants