lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2880) Investigate adding an overseer that can assign shards, later do re-balancing, etc
Date Thu, 08 Dec 2011 16:21:40 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message