[pgpool-committers: 945] pgpool: Fix %H in trigger_failover() to assign new primary node.

Tatsuo Ishii ishii at postgresql.org
Wed May 8 18:01:31 JST 2013


Fix %H in trigger_failover() to assign new primary node.

Before it assigns the result of get_next_master_node(), which is not
correct in streaming replication mode, which is not necessarily same
as the primary node id. This causes problem in follow_master_command.
Please note that %m(new master node) properly uses passed new
master(or primary) node id. See [pgpool-hackers: 219] for more
details.

Branch
------
V3_1_STABLE

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

Modified Files
--------------
main.c |   10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)



More information about the pgpool-committers mailing list