You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2020/10/23 16:44:19 UTC

[GitHub] [incubator-pinot] mayankshriv commented on a change in pull request #6172: Adding a new Server API for computing average off heap memory consumed

mayankshriv commented on a change in pull request #6172:
URL: https://github.com/apache/incubator-pinot/pull/6172#discussion_r511009756



##########
File path: pinot-core/src/main/java/org/apache/pinot/core/realtime/impl/RealtimeSegmentStatsHistory.java
##########
@@ -385,7 +395,7 @@ public static void main(String[] args)
       throws Exception {
     RealtimeSegmentStatsHistory history = RealtimeSegmentStatsHistory.deserialzeFrom(new File("/tmp/stats.ser"));
     System.out.println(history.toString());
-    for (int i = 0; i < history.getNumntriesToScan(); i++) {
+    for (int i = 0; i < history.getNumEntriesToScan(); i++) {

Review comment:
       +1




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org