]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd_mirror: order the user group snaps and the mirror group snaps syncing
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Fri, 29 Aug 2025 08:36:58 +0000 (14:06 +0530)
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Tue, 16 Sep 2025 14:10:48 +0000 (19:40 +0530)
commit889acb41ec730ff83c571e87336e9ff6ca0712bb
tree456e646d4ff7d6aae050f019197ed7bdaca0ea63
parentac46a1ab586fc2a29f0f0f811aa814562af7023d
rbd_mirror: order the user group snaps and the mirror group snaps syncing

In case of user group snap addition:
* Wait for the user group snap to sync to complete and only then mark
  the mirror group snap to complete
In case of user group snap removal:
* Wait for the user group snap to get pruned and only then mark the
  mirror group snap to complete

Updated tests:
  • test_create_group_with_images_then_mirror_with_regular_snapshots
      enable scenario 1 as with the recent changes it works, also remove
      additional mirror group snapshot as it is no more required.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
qa/workunits/rbd/rbd_mirror_group.sh
qa/workunits/rbd/rbd_mirror_group_simple.sh
src/tools/rbd_mirror/group_replayer/Replayer.cc
src/tools/rbd_mirror/group_replayer/Replayer.h