ceph-csi/internal/rbd/group
Praveen M e4d41c42d6 rbd: get volumegroup in secondary cluster
Currently, `GetVolumeGroup()` fetches the RBD group from the
pool using the clusterID & poolID encoded in the VolumeGroupHandle.
However, this approach may fail in a secondary mirrored cluster,
where the clusterID & poolID could differ.

This commit ensures that `GetVolumeGroup` leverages the
clusterIDMapping and RBDPoolIDMapping to locate the RBD group in the
appropriate  pool if it is not found in the pool corresponding
to the poolID encoded in the VolumeGroupHandle.

Signed-off-by: Praveen M <m.praveen@ibm.com>
2025-02-17 13:33:21 +00:00
..
group_snapshot.go util: return correct status code for VolumeGroupSnapshot 2024-12-19 10:42:01 +00:00
util.go rbd: get volumegroup in secondary cluster 2025-02-17 13:33:21 +00:00
volume_group.go util: return correct status code for VolumeGroupSnapshot 2024-12-19 10:42:01 +00:00