Alima777 commented on a change in pull request #1399:
URL: https://github.com/apache/incubator-iotdb/pull/1399#discussion_r443539139



##########
File path: 
server/src/main/java/org/apache/iotdb/db/query/reader/series/SeriesReader.java
##########
@@ -251,6 +257,13 @@ private void 
unpackAllOverlappedTimeSeriesMetadataToCachedChunkMetadata(
       unpackOneTimeSeriesMetadata(firstTimeSeriesMetadata);
       firstTimeSeriesMetadata = null;
     }
+
+    // try to calculate the total number of chunk and time-value points in 
chunk
+    if 
(IoTDBDescriptor.getInstance().getConfig().isEnablePerformanceTracing()) {
+      totalChunkNum += cachedChunkMetadata.size();

Review comment:
       Good suggestion, Fixed.




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


Reply via email to