Varun Thacker created SOLR-12818:
------------------------------------

             Summary: failed create collection leaves dirty state
                 Key: SOLR-12818
                 URL: https://issues.apache.org/jira/browse/SOLR-12818
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 7.5
            Reporter: Varun Thacker


I tried creating a collection in 7.5 that will always error out:
1. bin/solr start -e cloud -noprompt
2. 
http://localhost:8983/solr/admin/collections?action=CREATE&name=_name_of_collection_1&numShards=1&replicationFactor=3&autoAddReplicas=true

The create collection failed but the 
/collections/_name_of_collection_1/state.json get's left behind
{code:java}
{"_name_of_collection_1":{
    "pullReplicas":"0",
    "replicationFactor":"3",
    "router":{"name":"compositeId"},
    "maxShardsPerNode":"1",
    "autoAddReplicas":"true",
    "nrtReplicas":"3",
    "tlogReplicas":"0",
    "shards":{"shard1":{
        "range":"80000000-7fffffff",
        "state":"active",
        "replicas":{}}}}}{code}
This doesn't happen in 7.4



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to