Allow reading stale data from Consul KV and Catalog
iromli opened this issue · 2 comments
iromli commented
By allowing reading stale data from Consul KV and Catalog, any container can pull the data from any Consul node even when its leader is gone. This will make container less-dependent on Consul leader while also gives Consul cluster re-established (either automatically/manually).
To allow reading stale data, consulate
should be replaced by python-consul
as the latter support richer features, including consistency mode.
iromli commented
Note, consul-template
also has max-stale
option to allow reading stale data from Consul Catalog
iromli commented
Latest images support this consistency mode