slachiewicz commented on issue #702:
URL: https://github.com/apache/maven-indexer/issues/702#issuecomment-5840650018

   We can reproduce deleted index files staying open, but only when the 
`IteratorSearchResponse` returned by `Indexer.searchIterator(...)` is never 
closed. It holds a Lucene searcher until `close()`, so 
`closeIndexingContext(ctx, true)` deletes the files while that reader still has 
them open. Closing the response (try-with-resources) leaves no open files. Does 
your code call `searchIterator` or `IndexingContext.acquireIndexSearcher()` 
without closing or releasing the result? If not, a minimal reproducer would 
help us find the other path.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to