[Bps-public-commit] r11817 - in Prophet/trunk: .

jesse at bestpractical.com jesse at bestpractical.com
Tue Apr 22 10:53:51 EDT 2008


Author: jesse
Date: Tue Apr 22 10:53:42 2008
New Revision: 11817

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/Replica/Native.pm

Log:
 r29968 at 31b:  jesse | 2008-04-22 16:17:27 +0200
 * add a note about changeset calculation.


Modified: Prophet/trunk/lib/Prophet/Replica/Native.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Replica/Native.pm	(original)
+++ Prophet/trunk/lib/Prophet/Replica/Native.pm	Tue Apr 22 10:53:42 2008
@@ -279,6 +279,7 @@
 
     my $hash_changeset = $changeset->as_hash;
 
+    # XXX TODO: we should not be calculating the changeset's sha1 with the 'replica_uuid' and 'sequence_no' inside it. that makes every replica have a different hash for what should be a unique changeset.
 
     my $content = YAML::Syck::Dump($hash_changeset);
     my $cas_key = $self->_write_to_cas(



More information about the Bps-public-commit mailing list