SOLR-11067, the REPLACENODE API is able to select a new node for you if you do not provide one yourself, via the target parameter.
However, there is nothing done to guarantee that the new node selected for you is different from the original node. It looks like hossman made this observation in the original JIRA, but I'm not sure any fixes were made.
I propose, similarly to hossman did, that the API should also throw an error in case there is no other live node to send the replicas to.
- links to