[pgpool-committers: 2708] pgpool: Adoption of the interlocking and watchdog node commands (comman

Muhammad Usama m.usama at gmail.com
Wed Sep 30 00:13:44 JST 2015


Adoption of the interlocking and watchdog node commands (commands used to inform
about node failures and promotions and other such node statuses to the connected
pgpool-II nodes) with the new watchdog architecture. The interlocking mechanism
is changed altogether. Now, instead of all NODE_DOWN, NODE_UP and NODE_PROMOTE
operation using the same lock each type of command is given its own separate lock.
And all the locks are now exclusively handled by the master watchdog node which
helps in making the lock operations more atomic and easier to manage.
The code still needs a lot of cleanups, which will follow shortly

Branch
------
watchdog_enhancement

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

Modified Files
--------------
src/include/pool.h              |    1 +
src/include/watchdog/watchdog.h |   82 +-
src/include/watchdog/wd_ext.h   |   18 +-
src/main/pgpool_main.c          |  195 ++--
src/watchdog/watchdog.c         |   12 +
src/watchdog/wd_child.c         | 1992 +++++++++++++++++++++++++++++++--------
src/watchdog/wd_interlock.c     |   95 ++
src/watchdog/wd_packet.c        |  500 ++++++++--
8 files changed, 2321 insertions(+), 574 deletions(-)



More information about the pgpool-committers mailing list