LeiRui commented on a change in pull request #262: [IOTDB-144]meta data cache 
for query
URL: https://github.com/apache/incubator-iotdb/pull/262#discussion_r305599152
 
 

 ##########
 File path: 
iotdb/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
 ##########
 @@ -147,6 +149,11 @@
    */
   private ModificationFile mergingModification;
 
+  /**
+   * This linked hash set records the access order of sensors used by query.
+   */
+  private LinkedHashSet<String> lruForSensorUsedInQuery = new 
LinkedHashSet<>();
 
 Review comment:
   Does `LinkedHashSet` has LRU function? Maybe you want to use 
`LruLinkedHashMap` but that is not set.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to