[pgpool-committers: 3364] pgpool: Fixing a coding mistake in watchdog code.

Muhammad Usama m.usama at gmail.com
Fri Jul 29 23:11:31 JST 2016


Fixing a coding mistake in watchdog code.

wd_issue_failover_lock_command() function is supposed to forward command type
passed in as an argument to the wd_send_failover_sync_command() function instead
it was passing the NODE_FAILBACK_CMD command type.
The mistake was caught by uehara

The commit also contains some log message enhancements

Branch
------
V3_5_STABLE

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

Modified Files
--------------
src/main/pgpool_main.c     |  2 +-
src/watchdog/watchdog.c    | 84 +++++++++++++++++++++++++++++++++-------------
src/watchdog/wd_commands.c |  2 +-
3 files changed, 63 insertions(+), 25 deletions(-)



More information about the pgpool-committers mailing list