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

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3, 8.0
    • Component/s: AutoScaling, SolrCloud
    • Labels:
      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

              • Assignee:
                noble.paul Noble Paul
                Reporter:
                shalinmangar Shalin Shekhar Mangar
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: