Repository navigation
Crimson/osd/snap-mapper: flush pending writes on pg interval change - #68796
Merged
Merged
Conversation
Contributor
Author
|
@xxhdx1985126 - can you take a look at this PR? I am confident that I am not re-introducing the bug you had solved with the original PR, but will appreciate a second opinion. Thanks |
ronen-fr
force-pushed
the
wip-rf-snapreset-crimson
branch
from
May 7, 2026 11:47
763c027 to
06005c8
Compare
Matan-B
approved these changes
May 10, 2026
When a PG interval changes, the snap-mapper's MapCacher backend is reset to clear any stale state. This change adds a flush-and-reset method that first flushes any pending writes in the MapCacher into the objectstore, then resets the backend. Fixes: https://tracker.ceph.com/issues/76458 Signed-off-by: Ronen Friedman <[email protected]>
amathuria
approved these changes
May 11, 2026
ronen-fr
force-pushed
the
wip-rf-snapreset-crimson
branch
from
May 12, 2026 15:51
06005c8 to
dee19fe
Compare
Contributor
teuthology-suite -s crimson-rados -p 101 --force-priority -c wip-perezjos-crimson-only-13-05-2026-PR68796 -f debug --filter-out rgw --suite-branch main --suite-repo https://github.com/ceph/ceph.git
2026-05-14 14:30:39,447.447 INFO:teuthology.suite.run:Test results viewable at |
Contributor
Author
|
Merging based on Jose's and my runs. |
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.
When a PG interval changes, the snap-mapper's MapCacher backend is
reset to clear any stale state. This change adds a flush-and-reset
method that first flushes any pending writes in the MapCacher into the
objectstore, then resets the backend.
And that is why we are seeing multiple instances of snap-mapper inconsistencies
(fixed by #68707)
Fixes: https://tracker.ceph.com/issues/76458
Note: the PR changes the implementation introduced in #57125.