Threads leak out from Executors created in LuceneTestCase#newSearcher [LUCENE-3840]
Open
legacy-jira-fix-version:4.9
legacy-jira-fix-version:6.0
legacy-jira-priority:Major
type:bug
type:test
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
Not every IndexReader/close listener is called and this results in executors not being properly shut down/ disposed of.
---
Migrated from [LUCENE-3840](https://issues.apache.org/jira/browse/LUCENE-3840) by Dawid Weiss (@dweiss), updated May 09 2016
Contributor guide
Research direction
Start at LuceneTestCase#newSearcher and trace how its IndexReader and close listeners are registered and invoked. Reproduce the test cleanup path, then verify that every close listener runs and executors created there are shut down and disposed of.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100