gaurav-narula opened a new pull request, #17425: URL: https://github.com/apache/kafka/pull/17425
`UnifiedLog::roll` schedules a flush which introduced a race as the underlying log may have been closed due to a directory reassignment or deletion. This may lead to `ClosedChannelException` or `NoSuchFileException`, which if uncaught may mark the log directory as offline inadvertently. This change therefore swallows the aforementioned exceptions. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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]
