]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: address partial group snapshots case
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Wed, 14 Feb 2024 15:01:21 +0000 (20:31 +0530)
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Wed, 30 Jul 2025 16:56:23 +0000 (22:26 +0530)
commit5ab6f29b59c39476489e062bb865b52112d4e0a6
tree7fdfae8185b66f5dee4685e56dc254634e2e7ae0
parent173916454887518fc7220ac1a08e8c0250c04a1c
rbd-mirror: address partial group snapshots case

Make sure group snapshots doesn't get copied to secondary if the group snapshot
is incomplete on primary. On creation time of a group snapshots on primary,
make sure to delete the previous snapshot in case it is incomplete.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
src/librbd/mirror/snapshot/CreatePrimaryRequest.cc
src/librbd/mirror/snapshot/UnlinkPeerRequest.cc
src/tools/rbd_mirror/GroupReplayer.cc