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/02/21 15:23:13 UTC

[GitHub] [iotdb] jixuan1989 commented on a change in pull request #2707: [ISSUE-2709] Fix merge delete cache bug

jixuan1989 commented on a change in pull request #2707:
URL: https://github.com/apache/iotdb/pull/2707#discussion_r579822470



##########
File path: server/src/main/java/org/apache/iotdb/db/engine/compaction/level/LevelCompactionTsFileManagement.java
##########
@@ -155,7 +157,9 @@ private void deleteLevelFilesInList(
   private void deleteLevelFile(TsFileResource seqFile) {
     seqFile.writeLock();
     try {
+      ChunkCache.getInstance().clear();

Review comment:
       clear all Cache?

##########
File path: server/src/main/java/org/apache/iotdb/db/engine/compaction/level/LevelCompactionTsFileManagement.java
##########
@@ -155,7 +157,9 @@ private void deleteLevelFilesInList(
   private void deleteLevelFile(TsFileResource seqFile) {
     seqFile.writeLock();
     try {
+      ChunkCache.getInstance().clear();

Review comment:
       clean all Cache?




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