Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9735 Umbrella JIRA for Auto Scaling and Cluster Management in SolrCloud
  3. SOLR-11064

Collection APIs should provide disk space hint to Policy when possible

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.3, 8.0
    • AutoScaling, SolrCloud
    • None

    Description

      SOLR-11063 added disk space hint to Policy. The ADDREPLICA, MOVEREPLICA, SPLITSHARD and REPLACENODE APIs can provide this hint.

      1. ADDREPLICA can query the size of the leader's data direcoty for the same shard and pass it to policy
      2. MOVEREPLICA again knows the size of the replica being moved
      3. REPLACENODE can compute the sum of disk usage of all the replicas' data directories

      We should probably include both index and tlog size in the hint to ensure that we have ample space on target nodes.

      We should also take care of HDFS because for movereplica and replacenode, there are no disk space requirements because the original replica's HDFS data and ulog directories are used by the new replicas.

      Attachments

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              shalin Shalin Shekhar Mangar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: