8000 Enable and process GroupClass based replication by rakeshgm · Pull Request #2030 · RamenDR/ramen · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Enable and process GroupClass based replication #2030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

rakeshgm
Copy link
Member
@rakeshgm rakeshgm commented May 8, 2025

Following up on #2015, this changes includes

  • The updation of DRClusterConfig with VolumeGroupReplicationClasses and VolumeGroupSnapshotClasses.
  • Update PeerClass.grouping based on VGRC
  • Update PeerClass.grouping based on VGSC
  • VRG: check if CG is enabled based on grouping flag
  • VRG: process to select VGRs or VSCs based from list of peerClasses

ShyamsundarR and others added 3 commits May 8, 2025 11:45
DRClusterConfig API is updated to report group related classes in status.

PeerClass is updated to carry "Grouping" bool to denote if group based
operations are supported across a pair of cluster peers.

Signed-off-by: Shyamsundar Ranganathan <srangana@redhat.com>
(cherry picked from commit 593cd7d)
DRClusterConfig will be updated with
VolumeGroupReplicationClasses and
VolumeGroupSnapshotClasses

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
Signed-off-by: rakeshgm <rakeshgm@redhat.com>
@rakeshgm rakeshgm force-pushed the group-peerClass branch from 132cfce to e1c531b Compare May 9, 2025 08:31
rakeshgm added 2 commits May 9, 2025 14:53
remove references of ClusterClaims in the tests
and rephrase the descriptions with DRClusterConfig Status

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
rename VolumeReplicationIDLabel to ReplicationIDLabel
since this is now being used in VolumeGroupReplicationClass
as well as VolumeReplicationClass

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
@rakeshgm rakeshgm marked this pull request as ready for review May 9, 2025 09:40
@rakeshgm rakeshgm changed the title Update DRClusterConfig with GroupClasses Enabled and Process GroupClass based Replication May 22, 2025
@rakeshgm rakeshgm changed the title Enabled and Process GroupClass based Replication Enable and process GroupClass based replication May 22, 2025
rakeshgm added 3 commits May 22, 2025 17:27
Signed-off-by: rakeshgm <rakeshgm@redhat.com>
enable grouping based on VolumeGroupReplicationClass.
grouping is enabled if and only if replication id
matches both volumeGroupRepliationClass and volumeReplicationClass
which belong to the same storageClass with same storageID

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
since this key is now being used for
VGRC and VRC, it makes sense to have a
common name. The key is renamed to
ReplicationClassScheduleKey

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0