Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5128 Improve SolrCloud cluster management capabilities
  3. SOLR-5748

Introduce autoManageReplicas collection property

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 6.0
    • SolrCloud
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shalin Shalin Shekhar Mangar
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: