LakshSingla commented on PR #16606: URL: https://github.com/apache/druid/pull/16606#issuecomment-2172405545
> But this particular error Unexpected end of ZLIB input stream is for gz file only I don't think we need to solve for the error, but we are adding the missing retries. The error that the input stream throws when the server is disconnected is irrelevant as long as we retry it. Hence I was curious if the other streams retry normally if the server is disconnected. > . The problem was that we were wrapping the RetryingInputStream into a FilterInputStream and then creating a GZIPInputStream Does it mean that when the server is disconnected, the inner input stream is working fine (and returning partial data), however the wrapping GZ stream is throwing because the data is incomplete? If so, why is the inner retrying stream not throwing an error and retrying on server disconnection? > But that doesn't happen for most of the other XyzInputStream in the way we are creating them, so they aren't the same. Where are these other streams getting created? -- 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]
