pgpool2.git / summary / log / commit / refs

commit    197b769adb966d9badf7ed14971b655f8c19056d
Author:   Muhammad Usama <m.usama@gmail.com>
Date:     Thu Nov 12 18:59:24 2015 +0000

    Fixing a coding mistake in new watchdog.
    
    Watchdog was ignoring the degenerate backend request from other pgpools received
    through watchdog.


src/watchdog/watchdog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/watchdog/watchdog.c b/src/watchdog/watchdog.c index 2cc83959b..22cd397a4 100644 --- a/src/watchdog/watchdog.c +++ b/src/watchdog/watchdog.c @@ -4583,6 +4583,7 @@ static bool process_wd_command_function(WatchdogNode* wdNode, WDPacketData* pkt, { reply_with_minimal_message(wdNode, WD_ACCEPT_MESSAGE, pkt); wd_set_node_mask_for_degenerate_req(node_id_list, node_count); + degenerate_backend_set(node_id_list,node_count); } } [parent: 66bc924d028d]