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

keeper: wait for updated ip to appear in keepersState view. #171

Closed
sgotti opened this issue Oct 21, 2016 · 1 comment
Closed

keeper: wait for updated ip to appear in keepersState view. #171

sgotti opened this issue Oct 21, 2016 · 1 comment
Milestone

Comments

@sgotti
Copy link
Member

sgotti commented Oct 21, 2016

At startup the keeper should wait for its updated ip to appear in the store's keeperState view.

This will fix a very uncommon and strange case where a standby keeper is reconfigured with the ip of the master keeper AND the sentinels are down (#154).

@sgotti
Copy link
Member Author

sgotti commented Nov 24, 2016

This is fixed in #200. We don't directly check the db listenaddress:port (keeper doesn't listen anymore) but a bootUUID fields that is generated at every keeper restart. So when the new bootUID is reflected in the cluster data we can assume that also the pg listenaddress and port have been updated.

@sgotti sgotti closed this as completed Nov 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant