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

Shalin Shekhar Mangar edited comment on SOLR-4808 at 6/21/13 2:18 PM:
----------------------------------------------------------------------

bq. It seems like we want a collection level replicationFactor so it's easy to 
change for the whole collection

The API to change replication factor can work at both levels. If you specify a 
shard name we change the factor for that shard otherwise we change it for the 
whole collection. Considering that it is nice to have a replication factor per 
shard for custom sharding use-cases, I think it is best that we store it only 
at a per-shard level.
                
      was (Author: shalinmangar):
    bq. It seems like we want a collection level replicationFactor so it's easy 
to change for the whole collection

The API to change replication factor can work at both levels. If you specify a 
shard name we change the factor for that shard otherwise we change it for the 
whole collection. Considering that we it is nice to have a replication factor 
per shard for custom sharding use-cases, I think it is best that we store it 
only at a per-shard level.
                  
> Persist and use replication factor at Collection and Shard level
> ----------------------------------------------------------------
>
>                 Key: SOLR-4808
>                 URL: https://issues.apache.org/jira/browse/SOLR-4808
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Anshum Gupta
>            Assignee: Shalin Shekhar Mangar
>              Labels: solrcloud
>
> The replication factor for a collection as of now is not persisted and used 
> while adding replicas.
> We should save the replication factor at collection factor as well as shard 
> level.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]

Reply via email to