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

Introduce autoManageReplicas collection property

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: SolrCloud
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              shalin Shalin Shekhar Mangar
            • Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated: