vrajat commented on code in PR #15018:
URL: https://github.com/apache/pinot/pull/15018#discussion_r1950309426


##########
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:
   Oh wait - I checked for `isEnabled` in the `PinotBrokerDebug` file. Is that 
OK ? Right now, it is the caller's responsibility to check for `isEnabled` and 
null. 



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