You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2019/06/24 09:10:30 UTC

[incubator-iotdb] branch feature_async_close_tsfile updated: push back recover

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

qiaojialin pushed a commit to branch feature_async_close_tsfile
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/feature_async_close_tsfile by this push:
     new d711a5f  push back recover
d711a5f is described below

commit d711a5fd4998f027f4506aab9200b478fd068cf9
Author: qiaojialin <64...@qq.com>
AuthorDate: Mon Jun 24 17:10:18 2019 +0800

    push back recover
---
 .../org/apache/iotdb/db/engine/filenodeV2/FileNodeProcessorV2.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/iotdb/src/main/java/org/apache/iotdb/db/engine/filenodeV2/FileNodeProcessorV2.java b/iotdb/src/main/java/org/apache/iotdb/db/engine/filenodeV2/FileNodeProcessorV2.java
index 42aeb87..40a9151 100755
--- a/iotdb/src/main/java/org/apache/iotdb/db/engine/filenodeV2/FileNodeProcessorV2.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/engine/filenodeV2/FileNodeProcessorV2.java
@@ -114,7 +114,8 @@ public class FileNodeProcessorV2 {
     this.storageGroupName = storageGroupName;
     closeFileNodeCondition = lock.writeLock().newCondition();
 
-    recover();
+    // construct the file schema
+    this.fileSchema = constructFileSchema(storageGroupName);
 
     /**
      * version controller
@@ -131,8 +132,7 @@ public class FileNodeProcessorV2 {
       throw new FileNodeProcessorException(e);
     }
 
-    // construct the file schema
-    this.fileSchema = constructFileSchema(storageGroupName);
+    recover();
   }
 
   private void recover() throws ProcessorException {