You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2016/10/08 04:20:22 UTC

[jira] [Closed] (SOLR-4015) the collection create AIP may create a collection that user not expected when the solr-nodes number less than the request collection's replicas number

     [ https://issues.apache.org/jira/browse/SOLR-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Rafalovitch closed SOLR-4015.
---------------------------------------
       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 4.0)
                       (was: 4.0-BETA)

> the collection create AIP may create a collection that user not expected when the solr-nodes number less than the request collection's replicas number 
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4015
>                 URL: https://issues.apache.org/jira/browse/SOLR-4015
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0-BETA, 4.0
>            Reporter: Po Rui
>              Labels: collction
>         Attachments: OverseerCollectionProcessor.java, SOLR_4015-OverseerCollectionProcessor.patch
>
>
> the collection create AIP may create a collection that user not expected when the solr-nodes number less than the request collection's replicas number.EX. the cluster have 5 avalaible solr-nodes. than user want create a collection with API param "numShards=2&numReplicas=2". this will lead to a collection contained 2 shards but one own 2 replicas and another own 1 replica. More serious, this will lead a collection loss one shard while the API param is "numShards=3&numReplicas=2". this will confuse the user. this incomplete collection will confuse the user. so we should discard the  colletion create action while the numLivedNode < numShards * (numReplicas + 1)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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