Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-5811: Improve logged message.

Mark Robert Millerd23a3374e19f
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 1b4f38c2c8e..0577d48beab 100644
--- a/solr/core/src/java/org/apache/solr/cloud/Overseer.java
+++ b/solr/core/src/java/org/apache/solr/cloud/Overseer.java
@@ -131,7 +131,7 @@ public class Overseer {
// ZooKeeper in which case another Overseer should take over
// TODO: if ordering for the message is not important, we could
// track retries and put it back on the end of the queue
- log.error("Could not process Overseer message", e);
+ log.error("Overseer could not process the current clusterstate state update message, skipping the message.", e);
}
zkClient.setData(ZkStateReader.CLUSTER_STATE,
ZkStateReader.toJSON(clusterState), true);
@@ -206,7 +206,7 @@ public class Overseer {
// ZooKeeper in which case another Overseer should take over
// TODO: if ordering for the message is not important, we could
// track retries and put it back on the end of the queue
- log.error("Could not process Overseer message", e);
+ log.error("Overseer could not process the current clusterstate state update message, skipping the message.", e);
}
workQueue.offer(head.getBytes());