[
https://issues.apache.org/jira/browse/SOLR-11064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327301#comment-16327301
]
ASF subversion and git services commented on SOLR-11064:
--------------------------------------------------------
Commit d99799c75c79b488d4db26c968d4e1a9cf415c6b in lucene-solr's branch
refs/heads/master from [~noble.paul]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d99799c ]
SOLR-11064: Collection APIs should use the disk space hint when using policy
framework
> 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
> 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]