jihoonson opened a new issue #9867: URL: https://github.com/apache/druid/issues/9867
### Affected Version All versions since 0.17.0 ### Description `IntermediateRowParsingReader.intermediateRowIterator()` returns a `CloseableIterator` which cleans up underlying resources when the iterator is closed. Currently, many implementations such as `OrcReader` or `ParquetReader` registers resources on a `Closer` and passes it to the `CloseableIterator`. This usually works fine, but if some exception occurred before returning `CloseableIterator`, the resources registered on the closer would not be cleaned up. This will be fine with middleManagers, but not with Indexers. The fix would be catching any exceptions before returning the iterator and closing the closer in `intermediateRowIterator()`. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
