[Neo-report] r2501 gregory - /trunk/neo/storage/handlers/replication.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Dec 9 18:17:51 CET 2010
Author: gregory
Date: Thu Dec 9 18:17:51 2010
New Revision: 2501
Log:
Replicate the current chunk if the peer answered less than min range.
Modified:
trunk/neo/storage/handlers/replication.py
Modified: trunk/neo/storage/handlers/replication.py
==============================================================================
--- trunk/neo/storage/handlers/replication.py [iso-8859-1] (original)
+++ trunk/neo/storage/handlers/replication.py [iso-8859-1] Thu Dec 9 18:17:51 2010
@@ -227,7 +227,7 @@ class ReplicationHandler(EventHandler):
params = (next_boundary, )
else:
# We must recheck current chunk.
- if length <= MIN_RANGE_LENGTH:
+ if count <= MIN_RANGE_LENGTH:
# We are already at minimum chunk length, replicate.
action = CHECK_REPLICATE
params = (recheck_min_boundary, )
More information about the Neo-report
mailing list