ivandika3 commented on PR #6696:
URL: https://github.com/apache/ozone/pull/6696#issuecomment-2119101039
In `XceiverServerRatis#removeGroup`, it seems the Ratis exception during
group remove (e.g. `GroupMismatchException`) is wrapped in `IOException`, not
sure why.
```java
RaftClientReply reply;
try {
reply = server.groupManagement(request);
} catch (Exception e) {
throw new IOException(e.getMessage(), e);
}
```
Currently, I'm using `HddsClientUtils.containsException` to extract
`GroupMismatchException` from the `IOException`. However, we can also remove
the `IOException` wrapping as well.
--
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]