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

Add support for transaction update using /txn of the Consul API #159

Open
ecourreges-orange opened this issue Sep 11, 2017 · 0 comments
Open

Comments

@ecourreges-orange
Copy link

Hello,
I don't know how much work it represents yet, but would you be willing to accept my pull request if I added a config switch that makes all updates atomic using transactions with the /txn path of Consul?
In my case a restore of a couple thousand of keys takes more than 10s, and the configuration is mostly invalid during that interval, so my clients that reload instantly the changes will probably end up with an invalid configuration.

A transaction prevents that kind of issue, the client receives one notification of change at the end of the transaction.

Thank you.

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

No branches or pull requests

1 participant