Richard Goodman created SOLR-18722:
--------------------------------------

             Summary: replacenode & migrate replicas don't factor in node roles
                 Key: SOLR-18722
                 URL: https://issues.apache.org/jira/browse/SOLR-18722
             Project: Solr
          Issue Type: Improvement
          Components: SolrCloud
    Affects Versions: 10.0
            Reporter: Richard Goodman


I've noticed when using the solr operator and creating a solrcloud cluster of 
varying node role types;
- 10 `data:on,overseer:allowed,coordinator:off`
- 2 `data:off,overseer:preferred,coordinator:off`
- 2 'data:off,overseer:disallowed,coordinator:on`

That when doing a rolling restart, the operator makes use of the `replacenode` 
api command, which does not specify a target node. Doing this, I've noticed 
that it will select non-data nodes and cause all sorts of issues. 

We're running 8.11.3 atm in production (solr9 is on the cards for Q1 for us) 
where I applied a similar fix and found it to work well. So I'm bringing this 
patch/PR to upstream.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to