adoroszlai commented on code in PR #4335:
URL: https://github.com/apache/ozone/pull/4335#discussion_r1122324539
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/GrpcXceiverService.java:
##########
@@ -59,6 +59,7 @@ public void onNext(ContainerCommandRequestProto request) {
} catch (Throwable e) {
LOG.error("Got exception when processing"
+ " ContainerCommandRequestProto {}", request, e);
+ isClosed.set(true);
Review Comment:
I think it's better to set it before that. It should prevent another
`onCompleted` call.
--
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]