Repository navigation
umbrella: rbd-mirror: prune obsolete primary mirror snapshots after relocation - #69765
Merged
Merged
Conversation
Contributor
Author
|
/audit retest |
Initialize the uuid member in the Peer constructor and include it in stream output operator to ensure correct peer identification in logs. Signed-off-by: Prasanna Kumar Kalever <[email protected]> (cherry picked from commit e98037a)
Previously, obsolete primary and demoted primary snapshots on the secondary cluster were not cleaned up immediately after relocation. Instead, old primary snapshots remained until a subsequent promote operation triggered their cleanup, while old demoted primary snapshots persisted until a later demote operation removed them. Adding changes for proactive cleanup of obsolete primary and demoted primary snapshots that are no longer required after relocation. Also adding test coverage to validate the cleanup behavior. Fixes: https://tracker.ceph.com/issues/76154 Signed-off-by: Miki Patel <[email protected]> (cherry picked from commit a10f58d)
…al cluster When an image is demoted on primary cluster and later promoted again, a non-primary demoted image snapshot is created on the peer (secondary) cluster. Each such promote/demote cycle on same cluster results in an additional non-primary demoted snapshot being created on peer. As a result, repeated promote/demote cycles on the same cluster can lead to accumulation of stale non-primary demoted snapshots on the secondary cluster. These snapshots are not removed immediately because cleanup is only triggered when peer (secondary) is promoted and then demoted. The proposed changes ensures that such snapshots are proactively identified and removed, preventing unbounded buildup. Also added test coverage to verify cleanup behavior. Fixes: https://tracker.ceph.com/issues/76155 Signed-off-by: Miki Patel <[email protected]> (cherry picked from commit 5a77c4f)
abitdrag
force-pushed
the
wip-77527-umbrella
branch
from
June 26, 2026 15:37
c430ccc to
db03f3e
Compare
Contributor
|
jenkins test make check arm64 |
idryomov
approved these changes
Jun 27, 2026
Contributor
Author
|
jenkins test make check arm64 |
Contributor
Author
|
jenkins test windows |
Contributor
|
This PR has been added to wip-yuri3-testing-20260721.154228-umbrella. |
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/77527
backport tracker: https://tracker.ceph.com/issues/77696
backport of #68161
parent tracker: https://tracker.ceph.com/issues/76154
backport of #68500
parent tracker: https://tracker.ceph.com/issues/76155
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