duongkame commented on code in PR #3800:
URL: https://github.com/apache/ozone/pull/3800#discussion_r993755980


##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockInputStream.java:
##########
@@ -302,20 +310,24 @@ protected synchronized int 
readWithStrategy(ByteReaderStrategy strategy)
       try {
         numBytesRead = strategy.readFromBlock(current, numBytesToRead);
         retries = 0; // reset retries after successful read
+      } catch (SCMSecurityException ex) {

Review Comment:
   It was there. I just move that piece up to separate it from other exceptions 
that we retry on.



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