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

   ## What changes were proposed in this pull request?
   When a client cancels a streaming `ReadBlock` call, or its connection drops, 
`streamObserver.onNext()` throws a gRPC `StatusRuntimeException` (`CANCELLED`). 
`KeyValueHandler.readBlock` caught this in its generic `catch (Exception)` and 
turned it into `CONTAINER_INTERNAL_ERROR`. The datanode then logged an ERROR, 
recorded a failed audit entry, started an on-demand scan of a healthy 
container, and tried to send an error response on a call that was already closed
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-17635
   
   ## How was this patch tested?
   new UT
   


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