David Smiley created SOLR-17616:
-----------------------------------

             Summary: CloudSolrClient admin routing should consider node roles 
and randomization
                 Key: SOLR-17616
                 URL: https://issues.apache.org/jira/browse/SOLR-17616
             Project: Solr
          Issue Type: Improvement
          Components: SolrCloud, SolrJ
            Reporter: David Smiley


CloudSolrClient delivers an admin request to the same node given a list of 
liveNodes (no ordering).  If it's a V2 request, it'll be randomly chosen, which 
is a little better.  If the non-Overseer so-called "distributed" cluster 
processing booleans are set, it's preferable to more thoughtfully distribute 
this work instead of consistently picking the same node.  Node roles are an 
existing way of designating nodes for certain purposes.

Instead, CloudSolrClient should pick randomly amongst the OVERSEER node roles, 
then amongst the COORDINATOR node roles, then amongst remaining.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to