You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2018/07/09 16:55:00 UTC
[jira] [Created] (LUCENE-8394) TieredMergePolicy's handling of the
case that all segments are less than the floor segment size is fragile
Adrien Grand created LUCENE-8394:
------------------------------------
Summary: TieredMergePolicy's handling of the case that all segments are less than the floor segment size is fragile
Key: LUCENE-8394
URL: https://issues.apache.org/jira/browse/LUCENE-8394
Project: Lucene - Core
Issue Type: Improvement
Reporter: Adrien Grand
Attachments: LUCENE-8394.patch
In the case that the index size is less than the floor segment size, the allowed number of segments is always computed as 1. In practice, it doesn't keep merging indefinitely only because {{doFindMerges}} has some logic that skips merging if the number of candidates is less than maxMergeAtOnce. This looks a bit fragile to me.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org