One impact I can think of is that the unclosed FileChannel leads to resource 
leakage.
Over time, there may be OOME.

For the PR, the close of fileChannel should be dependent on the following 
condition:
```
fileChannel != null
```

[ Full content available at: https://github.com/apache/kafka/pull/5574 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to