EJTTianYu commented on a change in pull request #2398:
URL: https://github.com/apache/iotdb/pull/2398#discussion_r550435456
##########
File path:
server/src/main/java/org/apache/iotdb/db/engine/merge/task/MergeFileTask.java
##########
@@ -195,7 +318,6 @@ private void moveUnmergedToNew(TsFileResource seqFile)
throws IOException {
ChunkCache.getInstance().clear();
ChunkMetadataCache.getInstance().clear();
TimeSeriesMetadataCache.getInstance().clear();
-
FileReaderManager.getInstance().closeFileAndRemoveReader(seqFile.getTsFilePath());
Review comment:
it is necessary as the old tsfile's cache is invalid
----------------------------------------------------------------
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]