Sergey Antonov created IGNITE-9466:
--------------------------------------
Summary: AsyncFileIO may not close channel after method close invocation
Key: IGNITE-9466
URL:
https://issues.apache.org/jira/browse/IGNITE-9466 Project: Ignite
Issue Type: Bug
Reporter: Sergey Antonov
{code:java}
/** {@inheritDoc} */
@Override public void close() throws IOException {
for (ChannelOpFuture asyncFut : asyncFuts) {
try {
asyncFut.getUninterruptibly(); // Ignore interrupts while waiting for channel close.
}
catch (IgniteCheckedException e) {
throw new IOException(e);
}
}
ch.close();
}{code}
If `asyncFut.getUninterruptibly()` throw exception, the channel associated with AsyncFileIO will not be closed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)