[pgpool-committers: 5777] pgpool: Make failover in progress check more aggressively.

Tatsuo Ishii ishii at sraoss.co.jp
Thu May 23 07:48:45 JST 2019


Make failover in progress check more aggressively.

In pool_virtual_master_db_node_id() the case when session context is
not available was not covered by the failover in progress checking
because I thought it'd be too aggressive. However a report from field
showed that that could happen while authenticating a client (and it
causes a segfault). So I decided to move the check to beginning of the
function to cover the case.

Branch
------
V3_7_STABLE

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

Modified Files
--------------
src/context/pool_query_context.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)



More information about the pgpool-committers mailing list