diff --git a/solr/core/src/java/org/apache/solr/cluster/events/impl/DefaultClusterEventProducer.java b/solr/core/src/java/org/apache/solr/cluster/events/impl/DefaultClusterEventProducer.java index b91ffefdfa3..3cd5cba0f2b 100644 --- a/solr/core/src/java/org/apache/solr/cluster/events/impl/DefaultClusterEventProducer.java +++ b/solr/core/src/java/org/apache/solr/cluster/events/impl/DefaultClusterEventProducer.java @@ -104,6 +104,7 @@ public class DefaultClusterEventProducer extends ClusterEventProducerBase { final Set downNodes = new HashSet<>(oldNodes); downNodes.removeAll(newNodes); if (!downNodes.isEmpty()) { + log.debug("creating nodes down event for nodes: {}", downNodes); fireEvent(new NodesDownEvent() { @Override public Iterator getNodeNames() { @@ -119,6 +120,7 @@ public class DefaultClusterEventProducer extends ClusterEventProducerBase { final Set upNodes = new HashSet<>(newNodes); upNodes.removeAll(oldNodes); if (!upNodes.isEmpty()) { + log.debug("creating nodes up event for nodes: {}", upNodes); fireEvent(new NodesUpEvent() { @Override public Iterator getNodeNames() { @@ -143,6 +145,7 @@ public class DefaultClusterEventProducer extends ClusterEventProducerBase { final Set removed = new HashSet<>(oldCollections); removed.removeAll(newCollections); if (!removed.isEmpty()) { + log.debug("creating collections removed event for collections: {}", removed); fireEvent(new CollectionsRemovedEvent() { @Override public Iterator getCollectionNames() { @@ -158,6 +161,7 @@ public class DefaultClusterEventProducer extends ClusterEventProducerBase { final Set added = new HashSet<>(newCollections); added.removeAll(oldCollections); if (!added.isEmpty()) { + log.debug("creating collections added event for collections: {}", added); fireEvent(new CollectionsAddedEvent() { @Override public Iterator getCollectionNames() {