apache / apache/lucene

EagerCheapMergePolicy [LUCENE-9414]

Open
#10,454 3 comments 0 reactions 1 assignee Claimed by @dsmiley View on GitHub
legacy-jira-priority:Major module:core/index type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

#10005 added a MergePolicy.findFullFlushMerges method for doing merges synchronously on commit, but no merge policies implement it. Here I propose "EagerCheapMergePolicy" that delegates to another one but overrides this method.

This one is changed slightly from one that's been battle tested in production on a large infrastructure.

---
Migrated from [LUCENE-9414](https://issues.apache.org/jira/browse/LUCENE-9414) by David Smiley (@dsmiley)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.