[Bucardo-general] Bucardo 4.4.3 released

Greg Sabino Mullane greg at endpoint.com
Fri Apr 15 20:55:57 UTC 2011


Bucardo version 4.4.3 has been released. This version fixes
an important race condition that could cause rows to be marked
as replicated on the master but not replicated on the slave.
You can drop in the Bucardo.pm from the 4.4.3 tarball to fix
it, or make the change yourself:

@@ -5999,8 +5999,8 @@ sub start_kid {
         }
         else {
             $self->glog('Issuing final commit for source and target');
-            $sourcedbh->commit();
             $targetdbh->commit();
+            $sourcedbh->commit();

Basically, we want to commit to the source before the target, 
as a failed commit to the source means we retry the rows, 
while a failed commit to the target means potential unreplicated rows.

Download:

http://bucardo.org/wiki/Bucardo

-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20110415/981d846d/attachment.bin 


More information about the Bucardo-general mailing list