uschindler commented on PR #12785:
URL: https://github.com/apache/lucene/pull/12785#issuecomment-1804063179

   I fixed the `close()` method to no longer throw `IllegalStateException` as 
this would violate the contract. When we close only `IOException` is allowed. 
As half-open index inputs are worse, we just retry to close the scope/session 
in a spinloop.
   
   I checked this with Maurizio, until the bugs in JVM are fixed, this is the 
best thing to do.
   
   Maurizio openend another issue in the JDK, describing our problem: 
https://bugs.openjdk.org/browse/JDK-8319782 (duplicate of 
https://bugs.openjdk.org/browse/JDK-8310644).


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

Reply via email to