[
https://issues.apache.org/jira/browse/SOLR-11064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noble Paul reassigned SOLR-11064:
---------------------------------
Assignee: Noble Paul
> Collection APIs should provide disk space hint to Policy when possible
> ----------------------------------------------------------------------
>
> Key: SOLR-11064
> URL: https://issues.apache.org/jira/browse/SOLR-11064
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: AutoScaling, SolrCloud
> Reporter: Shalin Shekhar Mangar
> Assignee: Noble Paul
> Priority: Major
> Fix For: master (8.0), 7.3
>
>
> SOLR-11063 added disk space hint to Policy. The ADDREPLICA, MOVEREPLICA,
> SPLITSHARD and REPLACENODE APIs can provide this hint.
> # ADDREPLICA can query the size of the leader's data direcoty for the same
> shard and pass it to policy
> # MOVEREPLICA again knows the size of the replica being moved
> # SPLITSHARD knows the size of the split indexes before it calls addreplica
> to create replicas of the sub-shards
> # 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]