[Pgpool-hackers] Follow master patch modified

Gilles Darold gilles.darold at dalibo.com
Sun Feb 27 23:20:18 UTC 2011


Hi,

Here is the new patch to allow slaves to follow master after a failover.
Following our discussion this feature will only be used in master/slave
and streaming replication mode. I also join a patch to the
documentation. Here is the explanation of the follow master feature:

"After a master failover in master/slave streaming replication, I mean
at failover_command completion, pgpool degenerate all nodes excepted the
new master and starts new child processes to be ready again to accept
connections from clients. After this, pgpool run the command set into
the 'follow_master_command' for each degenerated nodes. Typically the
command should be used to recover the slave from the new master by call
the pcp_recovery_node command for example."


Regards,

-- 
Gilles Darold
http://dalibo.com - http://dalibo.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-follow.diff
Type: text/x-patch
Size: 13444 bytes
Desc: not available
URL: <http://pgfoundry.org/pipermail/pgpool-hackers/attachments/20110228/149e10f7/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgpool-en.html-follow.diff
Type: text/x-patch
Size: 1594 bytes
Desc: not available
URL: <http://pgfoundry.org/pipermail/pgpool-hackers/attachments/20110228/149e10f7/attachment-0003.bin>


More information about the Pgpool-hackers mailing list