-
Notifications
You must be signed in to change notification settings - Fork 317
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
synchronous_standby_names = '*' causes master to hang #299
Comments
I tried this one and got a slightly different error. The master takes very long to start and when it eventually does the replicant is not able to ping master. But reading from https://www.crunchydata.com/blog/synchronous-replication-in-postgresql it specifies that you need to reload the configs using pg_ctl or sql. I am not sure what causes this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: 12
I have a single asynchronous replica set up for my master db. It runs great out of the box with the REPLICATION_XXX env vars!
I'm trying to enable synchronous_standby_names so that we don't get inconsistent reads. Adding EXTRA_CONF="synchronous_standby_names = '*'\n" as an env var (or via the /settings/extra.conf file) causes the master to just hang on the log entry 'Creating superuser xxx' and it never accepts connections.
Has anyone successfully set up synchronous replication and if so, how?
The text was updated successfully, but these errors were encountered: