soumitra-st commented on code in PR #13177:
URL: https://github.com/apache/pinot/pull/13177#discussion_r1607368116
##########
pinot-core/src/main/java/org/apache/pinot/core/transport/grpc/GrpcQueryServer.java:
##########
@@ -72,19 +77,38 @@ public class GrpcQueryServer extends
PinotQueryServerGrpc.PinotQueryServerImplBa
private final AccessControl _accessControl;
private final ServerQueryLogger _queryLogger =
ServerQueryLogger.getInstance();
+ // Filter to keep track of gRPC connections.
+ private class GrpcQueryTransportFilter extends ServerTransportFilter {
+ @Override
+ public Attributes transportReady(Attributes transportAttrs) {
+ LOGGER.info("gRPC transportReady: REMOTE_ADDR {}",
Review Comment:
Proxy creates the transport when it gets the first query for a server, and
does not close it, so no risk of flooding the log file.
--
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]