adoroszlai commented on code in PR #11698:
URL: https://github.com/apache/ozone/pull/11698#discussion_r4363754719
##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMHAUtils.java:
##########
@@ -189,7 +189,9 @@ public static boolean
isRetriableWithNoFailoverException(Exception e) {
*/
public static boolean checkRetriableWithNoFailoverException(Exception e) {
Throwable t = unwrapException(e);
- return RetriableWithNoFailoverException.class.isInstance(t);
+ // RemoteException cannot be unwrapped to this exception (no String
constructor), so also match the class name.
Review Comment:
Why not add `RetriableWithNoFailoverException(String)`? See HDDS-10760.
--
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]