kerneltime commented on code in PR #4335:
URL: https://github.com/apache/ozone/pull/4335#discussion_r1122362001


##########
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:
   From `StreamObersever.java`
   ```
   Receives a terminating error from the stream.
   May only be called once and if called it must be the last method called. In 
particular if an exception is thrown by an implementation of onError no further 
calls to any method are allowed.```



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