From e2ebd116a11bc45f528001cf9157a6e69b9553ef Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Sun, 19 Feb 2012 04:10:03 +0000 Subject: [PATCH] SOLR-3126: restore old deletes via tlog so peersync won't reorder git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1290941 13f79535-47bb-0310-9956-ffa450edef68 --- solr/core/src/java/org/apache/solr/update/PeerSync.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/update/PeerSync.java b/solr/core/src/java/org/apache/solr/update/PeerSync.java index 344e0e119b0..3b5a8308016 100644 --- a/solr/core/src/java/org/apache/solr/update/PeerSync.java +++ b/solr/core/src/java/org/apache/solr/update/PeerSync.java @@ -317,7 +317,7 @@ public class PeerSync { return true; } - if (toRequest.size() > maxRequests) { + if (toRequest.size() > maxUpdates) { return false; }