Jackie-Jiang commented on a change in pull request #4229: Emit freshnessLag metric from broker for queries hitting consuming segments URL: https://github.com/apache/incubator-pinot/pull/4229#discussion_r286279133
########## File path: pinot-core/src/main/java/org/apache/pinot/core/query/reduce/BrokerReduceService.java ########## @@ -182,7 +187,9 @@ public BrokerResponseNative reduceOnDataTable(@Nonnull BrokerRequest brokerReque brokerResponseNative.setNumGroupsLimitReached(numGroupsLimitReached); if (numConsumingSegmentsQueried > 0) { if (minConsumingFreshnessTimeMs == Long.MAX_VALUE) { - LOGGER.error("Invalid lastIndexedTimestamp across {} consuming segments", numConsumingSegmentsQueried); + LOGGER.error("Invalid freshness time across {} consuming segments", numConsumingSegmentsQueried); Review comment: If numConsumingSegmentsQueried > 0, minConsumingFreshnessTimeMs will never be invalid. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org