Shalin Shekhar Mangar created SOLR-11064:
--------------------------------------------
Summary: 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
Fix For: 7.1
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
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]