[ 
https://issues.apache.org/jira/browse/SOLR-16353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17597388#comment-17597388
 ] 

ASF subversion and git services commented on SOLR-16353:
--------------------------------------------------------

Commit 2a6518021e569e5a33f78b375e841551da46ecb2 in solr's branch 
refs/heads/main from Haythem
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=2a6518021e5 ]

SOLR-16353: New solr.shardSplit.checkDiskSpace.enabled setting (#983)

And make checkDiskSpace tolerant to an absence of metrics information in case 
it's not present for whatever reason (e.g. transient core).

HdfsDirectory will now not do checkDiskSpace.

Co-authored-by: David Smiley <[email protected]>

> SplitShardCmd.checkDiskSpace can fail for transient core
> --------------------------------------------------------
>
>                 Key: SOLR-16353
>                 URL: https://issues.apache.org/jira/browse/SOLR-16353
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Haythem Khiri
>            Priority: Minor
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> SplitShardCmd.checkDiskSpace uses Solr's remote Metrics API through 
> SolrClientNodeStateProvider to fetch the size of a core it wants to consider 
> splitting. But if this occurs during a race in which the core is unloaded, 
> there won't be such a metric, resulting in a null then an exception stating 
> "missing index size information for parent shard leader".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to