sadanand48 opened a new pull request, #10479:
URL: https://github.com/apache/ozone/pull/10479

   ## What changes were proposed in this pull request?
   
   **StreamBlockInputStream**: Added a retry loop in dataAvailableToRead() that 
catches read failures (including TimeoutIOException) and calls 
handleExceptions() to release the stream, refresh pipeline/token, and reset 
requestedLength = position so reads resume from the current offset. On retry, 
failed datanodes are recorded in a per-stream failedStreamingDatanodes set and 
excluded from the next init.
   
   **XceiverClientGrpc**: Extended initStreamRead() to accept an 
excluded-datanode set and skip those nodes when opening a new streaming stream, 
so retries target a different replica instead of rebinding to the same dead 
one. Added INFO logging to show which datanode each init selects.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-15521
   
   ## How was this patch tested?
   Mini-Ozone cluster test added


-- 
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]

Reply via email to