Commit 6adc92fb authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix the replication issue revealed by the "TooManyData" test case.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2529 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 2cb055ea
......@@ -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, )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment