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

Tatsuo Ishii ishii at sraoss.co.jp
Fri Apr 30 19:51:39 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.

Also fix usage message that now Snapshot Isolation mode is supported.

Branch
------
V4_2_STABLE

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

Modified Files
--------------
src/test/watchdog_setup.in | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)



More information about the pgpool-committers mailing list