Thank you for looking into this Colvin! Best, Hakan.
On Wed, 6 Dec 2023 at 14:32, Colvin Cowie <colvin.cowie....@gmail.com> wrote: > I spotted this previously, > > https://github.com/apache/lucene-solr/commit/c7d234cafd37d824ff6642b449d3cb333d1e4a9a#r129141901 > I've raised a JIRA issue for it now > https://issues.apache.org/jira/browse/SOLR-17099 > > On Tue, 5 Dec 2023 at 09:49, Hakan Özler <ozler.ha...@gmail.com> wrote: > > > Hey everyone, I'd like to know your thoughts on this situation. Are we > the > > only ones experiencing error messages when using the Affinityplacement > > plugin in SOLR 9.4? > > > > On Mon, 20 Nov 2023 at 18:09, Hakan Özler <ozler.ha...@gmail.com> wrote: > > > > > 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 > > > > > > > > >