Skip to content
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

Enable DRPC Consistency Groups Using an Annotation #1488

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

BenamarMk
Copy link
Member

@BenamarMk BenamarMk commented Jul 18, 2024

Both, annotation and the DRPC spec allow us to enable consistency groups (CG) per-DRPC basis, providing more granular control than a global configuration. However, we chose to use an annotation instead of modifying the DRPC spec to prepare for the future full use of CG. As CG usage matures, we will gradually phase out non-CG snapshotting and replication. Using an annotation also makes it easier to remove for backward compatibility.

Usage:

util.IsCGEnabled(vrg.GetAnnotations())

Both annotations and the DRPC spec allow us to enable consistency groups (CG) on
a per-DRPC basis, providing more granular control compared to a global configuration.
However, we chose to use annotations instead of modifying the DRPC spec to prepare
for the future full use of CG. As CG usage matures, we will gradually phase out non-CG
snapshotting and replication. Using an annotation also makes it easier to remove for
backward compatibility.

Signed-off-by: Benamar Mekhissi <bmekhiss@ibm.com>
Copy link
Member

@ELENAGER ELENAGER left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@youhangwang
Copy link
Member

/lgtm

@ShyamsundarR ShyamsundarR merged commit 210f00a into RamenDR:main Jul 19, 2024
15 of 16 checks passed
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.

4 participants