dweiss commented on issue #12654:
URL: https://github.com/apache/lucene/issues/12654#issuecomment-1791521460

   In fact, I think it's this block in IW:
   ```
             // close all the closeables we can (but important is readerPool 
and writeLock to prevent
             // leaks)
             IOUtils.closeWhileHandlingException(readerPool, deleter, 
writeLock);
             writeLock = null;
             closed = true;
             closing = false;
   ```
   the problem here is - if there's another tragic exception from within 
IOUtils.close* call, the assignments below are never executed.


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to