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; }