xianjingfeng commented on code in PR #934:
URL: https://github.com/apache/incubator-uniffle/pull/934#discussion_r1221294713
##########
common/src/main/java/org/apache/uniffle/common/rpc/MonitoringServerTransportFilter.java:
##########
@@ -37,7 +37,9 @@ public Attributes transportReady(Attributes transportAttrs) {
}
public void transportTerminated(Attributes transportAttrs) {
- grpcMetrics.decGauge(GRPC_SERVER_CONNECTION_NUMBER_KEY);
+ if (transportAttrs != null) {
Review Comment:
When handshake fails.
https://github.com/grpc/grpc-java/issues/7625#issuecomment-728237434
--
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]