qiaojialin commented on a change in pull request #664: [IOTDB-333] Storage
group divide by time range
URL: https://github.com/apache/incubator-iotdb/pull/664#discussion_r361042510
##########
File path:
server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
##########
@@ -129,17 +132,47 @@
* avoid some tsfileResource is changed (e.g., from unsealed to sealed) when
a query is executed.
*/
private final ReadWriteLock closeQueryLock = new ReentrantReadWriteLock();
+ /**
+ * time range id in the storage group -> tsFileProcessor for this time range
+ */
+ private final HashMap<Long, TsFileProcessor> workSequenceTsFileProcessors =
new HashMap<>();
+ /**
+ * time range id for divide storage group -> last used time of
tsFileProcessor for this storage
+ * group
+ */
+ private final HashMap<Long, Long> sequenceTsfileProcessorLastUseTime = new
HashMap<>();
+ /**
+ * time range id in the storage group -> tsFileProcessor for this time range
+ */
+ private final HashMap<Long, TsFileProcessor> workUnsequenceTsFileProcessors
= new HashMap<>();
+ /**
+ * time range id for divide storage group -> last used time of
tsFileProcessor for this storage
Review comment:
what is used time??
----------------------------------------------------------------
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