[pgpool-committers: 7412] pgpool: Enhance follow_primary.sh generation in pgpool_setup.
Tatsuo Ishii
ishii at sraoss.co.jp
Wed Jan 20 17:28:00 JST 2021
Enhance follow_primary.sh generation in pgpool_setup.
In the generated follow primary script pcp_recovery_node was used to
sync standby with new primary node. However it is sufficient in
follow primary process to just restart standby with new recovery
configuration redirected to the new primary because we use the
"latest" timeline in the configuration file.
Moreover, from PostgreSQL 13, even restarting standby is not
needed. Just changing the recovery configuration and reloading is
enough. With these changes it is expected that the follow primary
process could be significantly faster than before.
Branch
------
V4_2_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=2d4451f4558ee7ddf36a313c6773dfe84efe9633
Modified Files
--------------
src/test/pgpool_setup.in | 28 +++++++++++++++++++++-------
1 file changed, 21 insertions(+), 7 deletions(-)
More information about the pgpool-committers
mailing list