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_r286278352
########## File path: pinot-core/src/main/java/org/apache/pinot/core/query/executor/ServerQueryExecutorV1Impl.java ########## @@ -170,11 +170,13 @@ public DataTable processQuery(ServerQueryRequest queryRequest, ExecutorService e } } - long minConsumingFreshnessTimeMs = Long.MAX_VALUE; + long minConsumingFreshnessTimeMs = -1; Review comment: You don't need to change this though because it won't be returned if numConsumingSegmentsQueried == 0 ---------------------------------------------------------------- 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