[Bucardo-general] Master to multi slave replication (OleksandrBakuntsev at Eaton.com)

Greg Sabino Mullane greg at endpoint.com
Wed Dec 4 16:19:38 UTC 2013


On Wed, Dec 04, 2013 at 07:38:22AM -0500, Jonathan Brinkman wrote:
> I agree this is a huge problem. I have a master with 20 slaves in a dbgroup,
> using bucardo 4.5, and if any one of the slaves goes offline then ALL syncs
> break, even those that have nothing to do with the missing slave or that
> dbgroup. This seriously undermines the value of bucardo... and it is very
> uncomfortable explaining to our clients why all the syncs are stopped until
> someone goes to fix the offline slave server.
> 
> Is this fixed in bucardo 5?

No, it is not fixed in B5. It's on the radar, but limited resources means I 
will get to it as some point, but I don't know when that will be. Here's a 
quick solution overview to kick around:

* We already handle the cases where the ctl and kid lose connection to a 
server - they just respawn

* If the MCP loses connection to a server, the action depends on a few things:

- If that server is used as a source, we deactivate all syncs using it as a 
source.
- If the server is only used as a target, we drive on (if a new flag is set), 
assuming there are other targets. If it is the only target, we deactivate the 
sync.
- Periodically we try to reconnect to the downed servers. Once up, we reactivate 
the sync and/or add the server back as a target.


-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Digital signature
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20131204/7c3a04f7/attachment.sig>


More information about the Bucardo-general mailing list