Gargi-jais11 opened a new pull request, #11909: URL: https://github.com/apache/ozone/pull/11909
## What changes were proposed in this pull request? When `Receiver.sendResponse` fails partway through writing a domain-socket response (for example because the client stops reading and the send hits ozone.client.write.timeout), the datanode logs the error and keeps the connection open. Part of the response frame may already be on the wire, and the next response is written immediately after it. The client reads length-delimited frames and cannot recover, so pending requests fail or fall back to gRPC. The fix closes the peer after a failed send so no further bytes are appended to a truncated frame. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-17444 ## How was this patch tested? Added IT. -- 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]
