diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index d36c44f2d10..ff8c9750007 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -420,7 +420,7 @@ Other Changes (Mark Miller, Gregory Chanan) * SOLR-6459: Normalize logging of operations in Overseer and log current queue size. - (Ramkumar Aiyengar via Mark Miller) + (Ramkumar Aiyengar, shalin via Mark Miller) * SOLR-6754: ZkController.publish doesn't use the updateLastState parameter. (shalin) diff --git a/solr/core/src/java/org/apache/solr/cloud/Overseer.java b/solr/core/src/java/org/apache/solr/cloud/Overseer.java index 0be295a7f31..7f13e81d4b7 100644 --- a/solr/core/src/java/org/apache/solr/cloud/Overseer.java +++ b/solr/core/src/java/org/apache/solr/cloud/Overseer.java @@ -314,7 +314,7 @@ public class Overseer implements Closeable { final TimerContext timerContext = stats.time(operation); try { - clusterState = processMessage(clusterState, message, operation, workQueue.getStats().getQueueLength()); + clusterState = processMessage(clusterState, message, operation, stateUpdateQueue.getStats().getQueueLength()); stats.success(operation); } catch (Exception e) { // generally there is nothing we can do - in most cases, we have