[pgpool-committers: 7642] pgpool: Fix watchdog_setup.

Tatsuo Ishii ishii at sraoss.co.jp
Fri Apr 30 19:51:25 JST 2021


Fix watchdog_setup.

watchdog_setup creates database cluster entity under pgpool0. In other
pgpool nodes's pgpool.conf just has the port number for PostgreSQL in
pgpool0.  But backend_data_directory remains their own PostgreSQL
cluster. For example:

backend_data_directory0 = '/home/t-ishii/work/Pgpool-II/current/x/pgpool2/data0'

This is fine until online recovery runs. If it referrers to the
database cluster directory, which is not correct of course.  Fix this
by replacing database cluster directories with symlinks to
pgppol/data0 and so on. This will reduce disk space.

Branch
------
V3_7_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=36be1a6ae8c2218eeb074565e66cdc930cf06d22

Modified Files
--------------
src/test/watchdog_setup.in | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)



More information about the pgpool-committers mailing list