GluuFederation/gluu-docker

Allow reading stale data from Consul KV and Catalog

iromli opened this issue · 2 comments

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.

Note, consul-template also has max-stale option to allow reading stale data from Consul Catalog

Latest images support this consistency mode