Skip to content

Conversation

@markcampv
Copy link
Contributor

This PR is made to provide a more effective approach to handling consul-replicate key deletions. In the previous PR, the operator would be prompted to confirm if deletion should be initiated for destination keys that corresponded to removed source keys. This would be an issue if consul-replicate was daemonized, where there isn't a way to input an answer to the prompt.

This solution will allow operators to set a delete flag when starting consul-replicate from an interactive shell or for a daemon.

Example:
Deleting keys in source DC
Cursor_and_ec2-user_ip-172-31-39-175__

Running consul-replicate -config "replicate.hcl" -delete=false in destination DC.

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