Repository navigation
crimson/osd/pg: reset the snap mapper's backend when pg interval changes - #57125
Conversation
Can you please explain how this assert relates to the stale cache? |
athanatos
left a comment
There was a problem hiding this comment.
LGTM other than removing the ifdef's
There was a problem hiding this comment.
This behavior is not specific to seastar, remove the ifdef.
There was a problem hiding this comment.
This behavior is not specific to seastar, remove the ifdef.
There was a problem hiding this comment.
This behavior is not specific to seastar, remove the ifdef.
This is a little bit tricky.
|
Matan-B
left a comment
There was a problem hiding this comment.
This is a little bit tricky.
- Snaps
snap1andsnap2on objectobj1maps to the same clonec- Snap
snap1is being trimmed on PGP;- Before
snap1ofobj1is trimmed and after theobj1 <-> snap1mapping is removed from the snap mapper,P's interval changed;- Snap
snap2is trimmed onobj1and caused thecto be removed- The osd gets restarted and find that
snap1ofobj1hasn't been trimmed- The osd tries to trim
snap1onobj1and meet the assertioncit != std::end(ss.clones)
Ah, thanks! LGTM besides comments left by @athanatos
|
All done:-) |
|
jenkins test windows |
|
jenkins test windows |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
Rebased. |
|
rebased on latest main |
|
windows test is not playing along |
|
jenkins test windows |
|
|
jenkins test make check |
|
@rzarzynski, common change here though Crimson is the only user meaning no actual impact to classic. Can this one be merged? |
Fixes: https://tracker.ceph.com/issues/65679
Signed-off-by: Xuehan Xu [email protected]
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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e