[ 
https://issues.apache.org/jira/browse/SOLR-3088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203867#comment-13203867
 ] 

Yonik Seeley commented on SOLR-3088:
------------------------------------

The mental model I've had is that numShards is just an optional helper at 
collection creation time, and is largely meaningless after that point.  
clusterstate is the system of record and contains all of the shards in a 
collection.
When shards are split in the future there will be a period of time when both 
the pre-split shard and the resulting post-split shards will coexist and 
overlap, and numShards as a collection property (rather than just a creation 
property) doesn't make sense.
If one is going to do custom sharding, then one would not use numShards, but 
simply add shards as needed (an example is shard-by-date, adding a new shard 
every week).
                
> create shard placeholders
> -------------------------
>
>                 Key: SOLR-3088
>                 URL: https://issues.apache.org/jira/browse/SOLR-3088
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Yonik Seeley
>             Fix For: 4.0
>
>
> When creating a new collection, a placeholder for each shard should be 
> created.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to