[Neo-report] r2529 gregory - /trunk/neo/storage/handlers/replication.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Dec 14 11:30:57 CET 2010
Author: gregory
Date: Tue Dec 14 11:30:57 2010
New Revision: 2529
Log:
Fix the replication issue revealed by the "TooManyData" test case.
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] Tue Dec 14 11:30:57 2010
@@ -232,7 +232,7 @@ class ReplicationHandler(EventHandler):
params = (next_boundary, )
else:
# We must recheck current chunk.
- if count <= MIN_RANGE_LENGTH:
+ if not match and 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