apache / apache/lucene

Too many open files in TestIndexWriterMergePolicy.testStressUpdateSameDocumentWithMergeOnGetReader [LUCENE-10088]

Open
#11,126 21 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

[This build failure](https://ci-builds.apache.org/job/Lucene/job/Lucene-NightlyTests-main/386/) reproduces for me.  I'll try to dig.

---
Migrated from [LUCENE-10088](https://issues.apache.org/jira/browse/LUCENE-10088) by Michael McCandless (@mikemccand), updated Apr 28 2022

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the linked Lucene nightly build failure and inspect TestIndexWriterMergePolicy.testStressUpdateSameDocumentWithMergeOnGetReader. Trace the open-file usage during the stress update and merge-on-get-reader scenario; done means the test passes without exceeding the open-file limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.