Description
Steps to reproduce:
- Create 1 node solr cloud cluster
- Create collection 'test' with numShards=1&replicationFactor=1&maxShardsPerNode=1
- Call addreplica API:
http://localhost:8983/solr/admin/collections?action=addreplica&collection=test&shard=shard1&wt=json
API fails with the following response:
{ responseHeader: { status: 400, QTime: 9 }, Operation ADDREPLICA caused exception:: "org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Cannot create collection test. No live Solr-instances", exception: { msg: "Cannot create collection test. No live Solr-instances", rspCode: 400 }, error: { msg: "Cannot create collection test. No live Solr-instances", code: 400 } }