JackieTien97 commented on a change in pull request #429: [IOTDB-205]Support
storage-group-level data ttl
URL: https://github.com/apache/incubator-iotdb/pull/429#discussion_r336877055
##########
File path:
server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java
##########
@@ -576,6 +579,8 @@ public String getStorageGroupName() {
QueryUtils.modifyChunkMetaData(chunkMetaDataList,
modifications);
+ chunkMetaDataList.removeIf(chunkMetaData -> chunkMetaData.getEndTime() <
timeLowerBound);
Review comment:
Still the same question. The variable `timeLowerBound` will cause class
construction every time the function is invoked.
----------------------------------------------------------------
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