[Pgpool-committers] pgpool - pgpool-II: Enhance online recovery in streaming replication

User T-ishii t-ishii at pgfoundry.org
Mon May 2 13:31:25 UTC 2011


Log Message:
-----------
Enhance online recovery in streaming replication mode.
Now restarting pgpool-II children is avoided when recovery finished.
So existing sessions can be continued while doing online recovery.
For this VALID_BACKEND macro is modified. pgpool-II main looks into
status in shared memory are as it were. pgpool-II child now looks
into local cache space. Pgpool-II child recognizes same number of
backends before failback util existing session ends. Then the
process exits with status 1, so that new process starts, which will
recognizes failback node. For this purpose "need_to_restart" flag
added to ProcessInfo structure.

Modified Files:
--------------
    pgpool-II:
        child.c (r1.70 -> r1.71)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/child.c?r1=1.70&r2=1.71)
        main.c (r1.99 -> r1.100)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/main.c?r1=1.99&r2=1.100)
        pool.h (r1.89 -> r1.90)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool.h?r1=1.89&r2=1.90)
    pgpool-II/pcp:
        libpcp_ext.h (r1.1 -> r1.2)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pcp/libpcp_ext.h?r1=1.1&r2=1.2)


More information about the Pgpool-committers mailing list