Repository navigation
Conversation
When EC is dealing with resizing objects, it tracks the current_size (which reflects the size of the object on-disk) and projected size, which is the size the object will be once all queued transactions are applied. Since the expanded space of an object contains either write data, or a hole, the extent cache can void reading it for any future writes while it is active. It does this by marking "do_not_read" with this gap. The extent cache then relies on do_not_read generating reads beyond the end of current_size. The bug here is that during a cache invalidate, adding to do_not_read was skipped and in some situations, this could lead to a follow on op attempting to read off the end of an object. Fixes: https://tracker.ceph.com/issues/78465 Signed-off-by: Alex Ainscow <[email protected]> Assisted-by: IBM-Bob 2.0.1/Claude Sonnet/GPT-5 Signed-off-by: Alex Ainscow <[email protected]> (cherry picked from commit a970eae)
Contributor
|
This PR has been added to wip-bharath27-testing-20260924.224940-umbrella. |
Contributor
ronen-fr
approved these changes
Sep 30, 2026
ronen-fr
left a comment
Contributor
There was a problem hiding this comment.
A clean backport, matching the original.
And the code seems right.
Contributor
Author
|
I have found a regression in this PR which cause data integrity issues elsewhere. I am working on a fix. |
Contributor
Author
|
No longer needed: #70377 is reverted on main (#72666) and tentacle (#72650). The replacement fix is #72683 (https://tracker.ceph.com/issues/81754). |
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.
backport tracker: https://tracker.ceph.com/issues/78466
backport of #70377
parent tracker: https://tracker.ceph.com/issues/78465
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh