mcvsubbu commented on a change in pull request #3614: Adding a class to get
statistics about a request (query) processed by…
URL: https://github.com/apache/incubator-pinot/pull/3614#discussion_r241496587
##########
File path:
pinot-broker/src/main/java/com/linkedin/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
##########
@@ -228,6 +238,9 @@ public BrokerResponse handleRequest(JSONObject request,
@Nullable RequesterIdent
Map<String, List<String>> offlineRoutingTable = null;
Map<String, List<String>> realtimeRoutingTable = null;
if (offlineBrokerRequest != null) {
+ if (realtimeBrokerRequest == null) {
+ requestStatistics.setFanoutType(RequestStatistics.FanoutType.OFFLINE);
Review comment:
yes. Changed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]