Bug: reconnect_interval not working
Closed this issue · 5 comments
Hi, the default reconnect_interval of 10 seconds does not seem to work in repmgr version 5.2.0-2.pgdg20.04+1
on Ubuntu 20.04 from the official postgresql.org apt repo. Instead the reconnect_interval is only 1 second. Also overriding the value in the repmgr.conf has no effect (yes I made sure I restarted the repmgrd service after editing the file):
reconnect_interval=10
Log output:
[2021-04-01 15:57:35] [INFO] sleeping up to 1 seconds until next reconnection attempt
Installed related packages:
ii postgresql-13-repmgr 5.2.0-2.pgdg20.04+1 amd64 replication manager for PostgreSQL 13
ii repmgr-common 5.2.0-2.pgdg20.04+1 all replication manager for PostgreSQL common files
ii pgdg-keyring 2018.2 all keyring for apt.postgresql.org
ii postgresql-13 13.2-1.pgdg20.04+1 amd64 The World's Most Advanced Open Source Relational Database
ii postgresql-13-postgis-3 3.1.1+dfsg-1.pgdg20.04+1 amd64 Geographic objects support for PostgreSQL 13
ii postgresql-13-postgis-3-scripts 3.1.1+dfsg-1.pgdg20.04+1 all Geographic objects support for PostgreSQL 13 -- SQL scripts
ii postgresql-client-13 13.2-1.pgdg20.04+1 amd64 front-end programs for PostgreSQL 13
ii postgresql-client-common 225.pgdg20.04+1 all manager for multiple PostgreSQL client versions
ii postgresql-common 225.pgdg20.04+1 all PostgreSQL database-cluster manager
Thank you very much in advance :-)
This issue was fixed in repmgr 5.2.1.
Oh I see thank you for the quick reply. Now I am just wondering why the package is not yet in the PostgreSQL.org apt repos yet. But maybe it is wise to migrate to the 2nd quadrant apt repos for repmgr
The 2ndQuadrant (EDB) repos are guaranteed to have the latest release at the time it appears. We've created a ticket for the community apt repo, possibly that was missed out during the last release.
I can confirm that 5.2.1 fixes the problem and is available on the 2ndQuadrant (EDB) repos. Thank you very much, feel free to close this issue now (or keep it open until the postgresql.org also have the update available. I checked today and it was not available there yet).