[
https://issues.apache.org/jira/browse/SOLR-2880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13165298#comment-13165298
]
Mark Miller commented on SOLR-2880:
-----------------------------------
{quote} The number of shards a collection has is always just the number you see
in ZK under the collection. This will make it easier for people with custom
sharding to just add another shard. Whoever is creating the initial layout
should thus create all of the shards at once. {quote}
This seems more complicated to me?
Custom shards are easy at the moment - numShards is only for the auto sharder -
other code that needs to know the number of shards (like around hashing) simply
counts the number of shards. If you add another shard manually, it should be no
problem.
numShards should just be called autoNumShards or something perhaps.
> Investigate adding an overseer that can assign shards, later do re-balancing,
> etc
> ---------------------------------------------------------------------------------
>
> Key: SOLR-2880
> URL: https://issues.apache.org/jira/browse/SOLR-2880
> Project: Solr
> Issue Type: Sub-task
> Components: SolrCloud
> Reporter: Mark Miller
> Assignee: Mark Miller
> Fix For: 4.0
>
> Attachments: SOLR-2880-merge-elections.patch, SOLR-2880.patch,
> SOLR-2880.patch
>
>
--
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: [email protected]
For additional commands, e-mail: [email protected]