Skip to content

osd: Relax missing entry assert for partial writes. - #65770

Merged
SrinivasaBharath merged 1 commit into
ceph:mainfrom
aainscow:tracker_73248
Oct 23, 2025
Merged

SrinivasaBharath merged 1 commit into
ceph:mainfrom
aainscow:tracker_73248

Conversation

@aainscow

@aainscow aainscow commented Oct 3, 2025 •

Copy link
Copy Markdown
Contributor

This assert was relaxed to allow for missing partial write logs. However
it needs to be relaxed further to cope with the missing list not containing
some objects with later log entries.

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

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 review from a team as code owners October 3, 2025 12:39
@aainscow
aainscow requested review from bill-scales and rzarzynski and removed request for a team October 3, 2025 12:39
Small reads
~~~~~~~~~~~

Currently, all reads in an erasure-coded pool are directed to the primary

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.

s/in/to/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dev doc was merged by mistake. I will remove

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

Three typos.

Also a bunch of nits, I recognize this is a "dev" doc so maybe not so important.

I/O operations in parallel to different OSDs.

The balance of network operations will change and this will need to be carefully
assesed in performance evaluation, so that we can provide sufficient data to the

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.

I think this should be "assessed" and not "assesed".

Suggested change
assesed in performance evaluation, so that we can provide sufficient data to the
assessed in performance evaluation, so that we can provide sufficient data to the

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will make sure your comments get applied to the design document in my next update, so the review is not wasted.


The balance of network operations will change and this will need to be carefully
assesed in performance evaluation, so that we can provide sufficient data to the
end user, to help make their decision about enabling this optional feature.

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.

Should this comma be omitted?

Suggested change
end user, to help make their decision about enabling this optional feature.
end user to help make their decision about enabling this optional feature.

assesed in performance evaluation, so that we can provide sufficient data to the
end user, to help make their decision about enabling this optional feature.

The splitting will significantly reduce the network traffic withing the cluster.

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.

Should be "within" and not "withing".

Suggested change
The splitting will significantly reduce the network traffic withing the cluster.
The splitting will significantly reduce the network traffic within the cluster.


- Small IOs (sub-chunk) will see no increase in traffic at all.
- Very large IOs will see an increase in the number of messages, but this is
likely insignificant compared to the associated data transfers

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.

Missing full stop.

Suggested change
likely insignificant compared to the associated data transfers
likely insignificant compared to the associated data transfers.

As part of the implementation, the impact on CPU utilization on the client will
be measured. The "destripe" mechanism is CPU intensive and results in
non-contiguous buffers. This may be significant for some applications where
the ceph client is completing for CPU resources with the client application.

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.

Capitalize Ceph?

Suggested change
the ceph client is completing for CPU resources with the client application.
the Ceph client is completing for CPU resources with the client application.

Comment on lines +342 to +343
Clients can (and regularly do) request an “object version”. In the OSD this is
known as the “user version” and is store in the OI along with the OSD’s

@bluikko bluikko Oct 6, 2025 •

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.

Two pairs of Unicode quotation marks and an apostrophe which might be better as ASCII.

Also, "is stored" instead of "is store".

Suggested change
Clients can (and regularly do) request an “object version”. In the OSD this is
known as the “user version” and is store in the OI along with the OSD’s
Clients can (and regularly do) request an "object version". In the OSD this is
known as the "user version" and is stored in the OI along with the OSD's

Comment on lines +400 to +401
Possibly we might want to enhance the —testrecovery flag to be something like
—testrecovery=“read:2” or something to ensure we are able to use this new

@bluikko bluikko Oct 6, 2025 •

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.

More Unicode: quotation marks and M dashes. Also propose to put the switches inside double backticks to render them as preformatted/code.

Suggested change
Possibly we might want to enhance the —testrecovery flag to be something like
—testrecovery=“read:2” or something to ensure we are able to use this new
Possibly we might want to enhance the ``--testrecovery`` flag to be something like
``--testrecovery="read:2"`` or something to ensure we are able to use this new

This assert was relaxed to allow for missing partial write logs. However
it needs to be relaxed further to cope with the missing list not containing
some objects with later log entries.

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

Signed-off-by: Alex Ainscow <[email protected]>
@aainscow

aainscow commented Oct 8, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@aainscow

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@shraddhaag

Copy link
Copy Markdown
Contributor

@SrinivasaBharath
SrinivasaBharath merged commit 73ef7db into ceph:main Oct 23, 2025
@aainscow aainscow added the backport-complete A backport was necessary, but all work has been completed. label Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-complete A backport was necessary, but all work has been completed. core needs-qa

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants