[pgpool-committers: 4235] pgpool: Fix wd_authkey bug in that a request to add new node to the clu

Yugo Nagata nagata at sraoss.co.jp
Fri Sep 1 16:42:01 JST 2017


Fix wd_authkey bug in that a request to add new node to the clusetr is rejected by master

This is a bug is due to the following commit.

commit 39de4a11d48b0ca50a4e8a9538265441994298b8
Author: Muhammad Usama <m.usama at gmail.com>
Date:   Thu Mar 30 02:00:49 2017 +0500

    Enhancing the handling of split-brain scenario by the watchdog.

This changed the definition of tv_sec that is used to check wd_authkey so
that this was affected by the clock of OS. So, if there is a lag between
two nodes' clocks, the wd_authkey check fails.

Branch
------
V3_5_STABLE

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

Modified Files
--------------
src/watchdog/watchdog.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)



More information about the pgpool-committers mailing list