You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xu...@apache.org on 2020/11/03 14:30:18 UTC

[iotdb] branch tsfile_resource_bug_fix created (now 8a7c9e2)

This is an automated email from the ASF dual-hosted git repository.

xuekaifeng pushed a change to branch tsfile_resource_bug_fix
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at 8a7c9e2  fix bug

This branch includes the following new commits:

     new 8a7c9e2  fix bug

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: fix bug

Posted by xu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xuekaifeng pushed a commit to branch tsfile_resource_bug_fix
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 8a7c9e229bc4573f456f7df1a6a2192a70b1b445
Author: 151250176 <15...@smail.nju.edu.cn>
AuthorDate: Tue Nov 3 22:29:43 2020 +0800

    fix bug
---
 .../org/apache/iotdb/db/engine/storagegroup/TsFileResource.java  | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileResource.java b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileResource.java
index b295e90..33ce547 100644
--- a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileResource.java
+++ b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileResource.java
@@ -336,15 +336,6 @@ public class TsFileResource {
         long version = Long.parseLong(file.getName().split(IoTDBConstant.FILE_NAME_SEPARATOR)[1]);
         historicalVersions = Collections.singleton(version);
       }
-
-      maxPlanIndex = ReadWriteIOUtils.readLong(inputStream);
-      minPlanIndex = ReadWriteIOUtils.readLong(inputStream);
-
-      if (inputStream.available() > 0) {
-        String modFileName = ReadWriteIOUtils.readString(inputStream);
-        File modF = new File(file.getParentFile(), modFileName);
-        modFile = new ModificationFile(modF.getPath());
-      }
     }
   }