[pgpool-committers: 943] 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
------
master

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

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



More information about the pgpool-committers mailing list