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

Shalin Shekhar Mangar updated SOLR-5748:
----------------------------------------

    Description: 
I propose to introduce a collection property called autoManageReplicas. This 
will be used only with the ZK as truth mode.

If set to true, then whenever the number of replicas for a shard fall below the 
replicationFactor and the down nodes do not come back up for a configurable 
amount of time, additional replicas will be started up automatically. 
Similarly, if the actual number of replicas is equal to or greater than 
replicationFactor then if old (previously down) nodes come back up then they 
will not be allowed to join the shard and will be unloaded instead.

I think we should not unload running shards if number of replicas are more for 
now. We can change that later if needed.

  was:I propose to introduce a collection property called autoIncreaseReplicas. 
This will be used only with the ZK as truth mode. If set to true, then whenever 
the number of replicas for a shard fall below the replicationFactor and the 
down nodes do not come back up for a configurable amount of time, additional 
replicas will be started up automatically.

        Summary: Introduce autoManageReplicas collection property  (was: 
Introduce autoIncreaseReplicas collection property)

> Introduce autoManageReplicas collection property
> ------------------------------------------------
>
>                 Key: SOLR-5748
>                 URL: https://issues.apache.org/jira/browse/SOLR-5748
>             Project: Solr
>          Issue Type: Sub-task
>          Components: SolrCloud
>            Reporter: Shalin Shekhar Mangar
>             Fix For: 5.0
>
>
> I propose to introduce a collection property called autoManageReplicas. This 
> will be used only with the ZK as truth mode.
> If set to true, then whenever the number of replicas for a shard fall below 
> the replicationFactor and the down nodes do not come back up for a 
> configurable amount of time, additional replicas will be started up 
> automatically. Similarly, if the actual number of replicas is equal to or 
> greater than replicationFactor then if old (previously down) nodes come back 
> up then they will not be allowed to join the shard and will be unloaded 
> instead.
> I think we should not unload running shards if number of replicas are more 
> for now. We can change that later if needed.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to