You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/03/16 01:12:37 UTC

[GitHub] [iotdb] HTHou commented on a change in pull request #2846: Change Query debug log for deletion and last

HTHou commented on a change in pull request #2846:
URL: https://github.com/apache/iotdb/pull/2846#discussion_r594793936



##########
File path: server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
##########
@@ -1633,6 +1632,7 @@ private void tryToDeleteLastCache(PartialPath deviceId, PartialPath originalPath
           if (lastPair != null && startTime <= lastPair.getTimestamp()
               && lastPair.getTimestamp() <= endTime) {
             ((MeasurementMNode) measurementNode).resetCache();
+            logger.info("[tryToDeleteLastCache] Last cache for path: " + measurementNode.getFullPath() + " is set to null");

Review comment:
       ```suggestion
               logger.info("[tryToDeleteLastCache] Last cache for path: {} is set to null", measurementNode.getFullPath());
   ```




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