[Bps-public-commit] SD branch, master, updated. 9d6a0232273b1752073bccb063296a6d1731253e
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu May 28 03:17:21 EDT 2009
The branch, master has been updated
via 9d6a0232273b1752073bccb063296a6d1731253e (commit)
from 43ddf1d152afa136859fabbdefad67a8d26a3b0a (commit)
Summary of changes:
lib/App/SD/ForeignReplica.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 9d6a0232273b1752073bccb063296a6d1731253e
Author: sunnavy <sunnavy at gmail.com>
Date: Thu May 28 15:17:08 2009 +0800
fixed the kinda tricky bug: last_changeset_from_source calls fetch_local_metadata, which was redefined in ForeignRepllica.pm, but we do *not* want to call the redefined versionin last_changeset_from_source
diff --git a/lib/App/SD/ForeignReplica.pm b/lib/App/SD/ForeignReplica.pm
index 20ccb3c..47dd5b5 100644
--- a/lib/App/SD/ForeignReplica.pm
+++ b/lib/App/SD/ForeignReplica.pm
@@ -17,7 +17,7 @@ sub integrate_changeset {
);
my $changeset = $args{'changeset'};
- return if $self->last_changeset_from_source( $changeset->original_source_uuid) >= $changeset->original_sequence_no;
+ return if $self->app_handle->handle->last_changeset_from_source( $changeset->original_source_uuid) >= $changeset->original_sequence_no;
$self->SUPER::integrate_changeset(%args);
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list