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

Support transactions #50

Closed
maxnasonov opened this issue Nov 10, 2016 · 1 comment
Closed

Support transactions #50

maxnasonov opened this issue Nov 10, 2016 · 1 comment

Comments

@maxnasonov
Copy link

Hello,

Any plans on subject:
https://www.hashicorp.com/blog/consul-0-7.html#txn
?

Thank you for the project anyway.

@ecourreges-orange
Copy link

This would be of great use for git2consul which currently sends as many PUT as there are keys to update, so nothing is atomic so far. Using /txn in one big transaction would fix that.

I suppose it could be added with methods like
consul.kv.txn.set(), consul.kv.txn.delete() to prepare the json and consul.kv.txn.send() to send it?

Regards.

P.S: I am hesitating between rewriting a git2consul more suitable for my needs in python, or making changes to node-consul and git2consul. The latter would benefit the community more I suppose.

@silas silas closed this as completed in 6ff154e Oct 4, 2020
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

2 participants