vvivekiyer commented on code in PR #15018:
URL: https://github.com/apache/pinot/pull/15018#discussion_r1950280172
##########
pinot-core/src/main/java/org/apache/pinot/core/transport/server/routing/stats/ServerRoutingStatsManager.java:
##########
@@ -198,6 +198,10 @@ private void updateStatsUponResponseArrival(String
serverInstanceId, long latenc
}
}
+ public Map<String, ServerRoutingStatsEntry> getServerRoutingStats() {
+ return _serverQueryStatsMap;
Review Comment:
Let us check for `_isEnabled` here? _serverQueryStatsMap would be null if
config is disabled.
--
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]