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

Endpoints are not updated if the leader's patroni service is not running #807

Closed
dragomirp opened this issue Mar 26, 2025 · 3 comments
Closed
Labels
bug Something isn't working as expected

Comments

@dragomirp
Copy link
Contributor

Likely we will need to set the alternative endpoints parameter when getting the primary endpoint here:

primary = self._patroni.get_primary()

Since follower units can't update the endpoints and the leader cannot get the state of the cluster locally.

@dragomirp dragomirp added the bug Something isn't working as expected label Mar 26, 2025
Copy link

Thank you for reporting your feedback to us!

The internal ticket has been created: https://warthogs.atlassian.net/browse/DPE-6874.

This message was autogenerated

@dragomirp
Copy link
Contributor Author

Upon further investigation it seems to be that the cluster topology observer doesn't poll other members, so it will crash until service is recovered on the leader unit.

@dragomirp
Copy link
Contributor Author

Should be fixed on latest 14/edge (revs. 589, 590)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

1 participant