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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]