You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read the documentation but did not find if during the loading of the KV store from the git repo, it was possible for the KV store to be in an incorrect state vis-a-vis the state of the git repo.
The reason I ask is I'm considering using Consul Template, and wondering if it might be triggered multiple times during the update, if we update several keys.
The text was updated successfully, but these errors were encountered:
Consul Template would absolutely be triggered multiple times. I don't think there's any way for me to solve this on the git2consul side: Consul has no atomic bulk update, so whatever updates I make will violate ACID. I believe Consul Template supports a quiescence model, though, where you only render a template after N seconds of no updates. That would likely be the guidance if you want to use Consul Template.
We use http://github.com/Cimpress-MCP/fsconsul instead, where each K/V represents a single file. We'll never have a configuration file in an interim state since updates to single K/Vs are atomic.
I read the documentation but did not find if during the loading of the KV store from the git repo, it was possible for the KV store to be in an incorrect state vis-a-vis the state of the git repo.
The reason I ask is I'm considering using Consul Template, and wondering if it might be triggered multiple times during the update, if we update several keys.
The text was updated successfully, but these errors were encountered: