[Bucardo-general] Conflict Handling: Newest Data Always Wins

Ben Allen bsa at lanl.gov
Wed Oct 10 14:49:08 UTC 2007

It appears Git is on the fritz again:

~/Desktop ballen$ git clone http://bucardo.org/bucardo.git/
Initialized empty Git repository in /Users/ballen/Desktop/bucardo/.git/
error: File 152c35a165ca7dc7bf2f434e3aa8301a8bc24507 (http:// 
15/2c35a165ca7dc7bf2f434e3aa8301a8bc24507) corrupt
Getting pack list for http://bucardo.org/bucardo.git
Getting index for pack 4881ef8b45a6066a2b6beaf9c17c2a7c0e2d128e
Getting alternates list for http://bucardo.org/bucardo.git
error: Unable to find 152c35a165ca7dc7bf2f434e3aa8301a8bc24507 under  
Cannot obtain needed object 152c35a165ca7dc7bf2f434e3aa8301a8bc24507
Some loose object were found to be corrupt, but they might be just
a false '404 Not Found' error message sent with incorrect HTTP
status code.  Suggest running git-fsck.

Ben Allen

On Oct 9, 2007, at 7:07 PM, Greg Sabino Mullane wrote:

> On Tue, 2007-10-09 at 18:10 -0600, Spencer Christensen wrote:
>> my ($arg) = @_;
>> my $source_time = $arg->{sourcerow}->{BUCARDO_TXNTIME};
>> my $target_time = $arg->{targetrow}->{BUCARDO_TXNTIME};
> Sorry, Spencer, but that column is no longer there. The good news is
> that there is already a fairly recent (but hidden) standard_conflict
> method called 'latest' that does something similar. I'll commit an
> update to make it  visible in the docs and legal in the schema. The
> relevant code is at line 4135 of Bucardo.pm and it basically grabs the
> times like this:
> SELECT extract(epoch FROM max(txntime))
> FROM bucardo.bucardo_delta
> WHERE tablename=?
> AND rowid=?
> -- 
> Greg Sabino Mullane greg at endpoint.com
> End Point Corporation 610-983-9073
> _______________________________________________
> Bucardo-general mailing list
> Bucardo-general at bucardo.org
> https://mail.endcrypt.com/mailman/listinfo/bucardo-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20071010/29d92125/attachment.html 

More information about the Bucardo-general mailing list