Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
8.4
-
None
-
None
-
New
Description
In lucene 8.4 (Elasticsearch 7.6.2), all indices are enabled with soft-deletes. We found the TieredMergePolicy contains redundant query computation to acquire numDeletesToMerge for findMerges. According to code from getSortedBySegmentSize , I think we should reuse the result of numDeletesToMerge which can reduce 3% CPU and some IO overheads.
.
Attachments
Attachments
Issue Links
- links to