]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: early detect if the mirroring instance match global group id
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Mon, 3 Mar 2025 09:17:54 +0000 (14:47 +0530)
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Wed, 30 Jul 2025 17:06:03 +0000 (22:36 +0530)
commitbc356eed4da4373130dbb493e4dfbaeeaf9a6663
treed69e2c7089380af785d5932186f625ab3460e1f2
parentf62f25caf1db83b925ef14150ce492018d3a837c
rbd-mirror: early detect if the mirroring instance match global group id

In a case where previous primary cluster is still alive,

-> Force promote site-b while site-a is still alive
-> Disable group on site-b
-> Re-enable group on site-b, while site-a is still alive

the group is getting removed. To avoid any such cases, better to makesure
the instance match with local group id, before taking any actions.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
src/tools/rbd_mirror/group_replayer/BootstrapRequest.cc