Skip to content

Warn and Confirm KV key deletions when replicating #110

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 1 commit into
base: master
Choose a base branch
from

Conversation

markcampv
Copy link
Contributor

When a primary datacenter's KV store is empty or there are some empty kvs, consul-replicate will delete kvs in the secondary datacenter without warning/confirming first. It would be helpful to have a guardrail for the operator running this. This PR attempts to implement such guardrail. Overall using consul snapshot would allow kvs to be restored, but it would be nice to avoid getting to that point.
Example:

Cursor_and_ec2-user_ip-172-31-40-166__

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.

1 participant