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

Replica crashes when decreasing max_connections #188

Open
davissp14 opened this issue Apr 14, 2023 · 0 comments
Open

Replica crashes when decreasing max_connections #188

davissp14 opened this issue Apr 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@davissp14
Copy link
Contributor

davissp14 commented Apr 14, 2023

The fly pg config update tool will currently perform a rolling-restart in order to apply configuration changes that cannot be applied at runtime. As of right now, all restarts will start with the replicas and end with the primary.

This process does not work in some cases when adjusting configuration values down.

As an example, a replica will not boot if its max-connections value is lower than the value specified by the primary.

@davissp14 davissp14 added the bug Something isn't working label Apr 14, 2023
@davissp14 davissp14 changed the title Replica crashes when decreasing number of max_connections Replica crashes when decreasing max_connections Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant