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

Bugfix/update machines cache #73

Merged
merged 3 commits into from
Oct 21, 2015
Merged

Conversation

CyberDem0n
Copy link
Member

No description provided.

Alexander Kukushkin added 3 commits October 21, 2015 10:56
Such situation could happen if we replaced all etcd nodes except one
which was used by patroni. After replacing the last node patroni will
try to execute request on all other nodes from machines_cache but non of
them are available. Michines cache would became empty and patroni will
stick to the latest node which was available in the machines_cache and
will never try to refresh machines_cache from dns for example.

Currently machines cache is refreshed only when one request to the etcd
cluster has failed, but probably it should be done periodically, for
example every minute...
alexeyklyukin pushed a commit that referenced this pull request Oct 21, 2015
@alexeyklyukin alexeyklyukin merged commit 3c3694d into master Oct 21, 2015
@CyberDem0n CyberDem0n deleted the bugfix/update-machines-cache branch October 21, 2015 10:34
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

Successfully merging this pull request may close these issues.

None yet

2 participants