ss77892 commented on code in PR #11080:
URL: https://github.com/apache/ozone/pull/11080#discussion_r3836353679
##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockExtendedInputStream.java:
##########
@@ -132,7 +132,8 @@ protected void refreshBlockInfo(IOException cause, BlockID
blockID, AtomicRefere
* Check if this exception is because datanodes are not reachable.
*/
protected boolean isConnectivityIssue(IOException ex) {
- return Status.fromThrowable(ex).getCode() == Status.UNAVAILABLE.getCode();
+ final Status.Code code = Status.fromThrowable(ex).getCode();
+ return code == Status.UNAVAILABLE.getCode() || code ==
Status.DEADLINE_EXCEEDED.getCode();
Review Comment:
No, it's not intentional. The changes belong to StreamBlockInputStream.
Thank you for noticing it! It will be in the next update.
--
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]