[Pgpool-committers] pgpool - pgpool-II: Subject: Re: [Pgpool-general] pg_terminate_backend

User T-ishii t-ishii at pgfoundry.org
Sun May 16 08:38:16 UTC 2010


Log Message:
-----------
Subject: Re: [Pgpool-general] pg_terminate_backend triggers failover on pgpool when used as standalone pool
From: Tatsuo Ishii
Date: Wed, 12 May 2010 22:08:31 +0900 (JST)

It seems the problem occurs when there's only one DB node.

1) it tries to failover to non existing node

2) it makes the node into down status which might not what you want.

#1 is purely a bug. I fix this and for #2 I'm leaning to change
existing behavior.

- In row mode and if there's only one DB node, if a problem occurs
  with the DB node, it will be brought to down status. However if the
  DB node goes into good condition again, you can use the DB node
  without restarting pgpool.

- In other mode the behavior is not changed.

Modified Files:
--------------
    pgpool-II:
        main.c (r1.66 -> r1.67)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/main.c?r1=1.66&r2=1.67)


More information about the Pgpool-committers mailing list