steveloughran commented on PR #7334:
URL: https://github.com/apache/hadoop/pull/7334#issuecomment-2663884053
sometimes a read can return -1 due to network errors, not EOF. in that
situation (look at read()) we abort the stream so it doesn't go back into the
pool, then ask for a new one. Apparently before the abort() you could get back
the same stream again, even through it was now failing. Inevitably, this is a
consequence of the stream's long retention of the same connection; if it
returned them after 60s this'd be less likely
--
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]