Hi there!

We've been seen some odd error messages in Solr 9.4 during replica and
collection creation:

Received unsolicited snitch tag headpUsage from node NodeImpl(solr-node-1)
Received unsolicited snitch tag sysLoadAvg from node NodeImpl(solr-node-1)
Received unsolicited snitch tag freedisk from node NodeImpl(solr-node-1)
Received unsolicited snitch tag totaldisk from node NodeImpl(solr-node-1)

After digging into it, our cluster, configured with AffinityplacementFactor
[1] to distribute replicas/shards equally, encounters this problem.
Although this factory doesn't require checking certain node metrics [2] the
code sets their corresponding findings as null at [3] leading to error
messages above [4].

To me, ignoring these error messages might be a temporary solution at the
moment. However since Affinity placement doesn't require those parameters
from metrics, we might follow a similar condition as in [5], what's your
take on this?

Thanks,
Hakan

1.
https://solr.apache.org/guide/solr/latest/configuration-guide/replica-placement-plugins.html#affinityplacementfactory
2.
https://github.com/apache/solr/blob/d16b791d295096e6b075cb3dbb3d9782f2be8913/solr/solrj-zookeeper/src/java/org/apache/solr/client/solrj/impl/NodeValueFetcher.java#L47

3.
https://github.com/apache/solr/blob/d16b791d295096e6b075cb3dbb3d9782f2be8913/solr/solrj-zookeeper/src/java/org/apache/solr/client/solrj/impl/NodeValueFetcher.java#L145
4.
https://github.com/apache/solr/blob/d16b791d295096e6b075cb3dbb3d9782f2be8913/solr/core/src/java/org/apache/solr/cluster/placement/impl/AttributeFetcherImpl.java#L158
5.
https://github.com/apache/solr/blob/d16b791d295096e6b075cb3dbb3d9782f2be8913/solr/solrj-zookeeper/src/java/org/apache/solr/client/solrj/impl/NodeValueFetcher.java#L129C17-L129C17

Reply via email to