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

ASF subversion and git services commented on LUCENE-8392:
---------------------------------------------------------

Commit 43481f26db0afe9d9ad39013e0ff6ae76308d643 in lucene-solr's branch 
refs/heads/branch_7x from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=43481f2 ]

LUCENE-8392: Avoir corner cases when maxMergeAtOnce is greater than 
segmentsPerTier.


> TieredMergePolicy has broken assumptions when maxMergeAtOnce is greater than 
> segmentsPerTier
> --------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-8392
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8392
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-8392.patch
>
>
> While working on LUCENE-8391 I had test failures when {{maxMergeAtOnce}} is 
> larger than {{segmentsPerTier}}. For instance when all segments are on the 
> same tier, the maximum number of segments that is allowed in the index is 
> {{segmentsPerTier}} but because the tiered policy wants to find 
> {{maxMergeAtOnce}} segments to merge, no segments will get merged if there 
> are less than {{maxMergeAtOnce}}  segments.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to