slachiewicz opened a new pull request, #836:
URL: https://github.com/apache/maven-indexer/pull/836

   Releases index writers, searchers, directories and worker threads on three 
error paths found while looking into #702: a multi-threaded index read that 
fails, `NexusIndexMultiReader.acquire()` failing on a later context, and 
`DefaultIndexingContext.close()` failing part way.
   
   One behavior change: a context is closed once `close()` returns or throws, 
so a failed `close()` can no longer be retried. It reports the first failure 
and adds the later ones as suppressed.
   
   This does not cover a search iterator the caller never closes, which is the 
path reproduced in #702.
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [ ] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [x] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   


-- 
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