[pgpool-committers: 7641] pgpool: Fix watchdog_setup.
Tatsuo Ishii
ishii at sraoss.co.jp
Fri Apr 30 19:51:20 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_6_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=16b75c7e93b0ae993772c9604df29df3902d92ae
Modified Files
--------------
src/test/watchdog_setup.in | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
More information about the pgpool-committers
mailing list