You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/06/07 13:41:25 UTC

[iotdb] branch upgradeBugv4 created (now b453687)

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

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


      at b453687  Fix UpgradeTool write some empty pageheaders to upgraded TsFiles

This branch includes the following new commits:

     new b453687  Fix UpgradeTool write some empty pageheaders to upgraded TsFiles

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 UpgradeTool write some empty pageheaders to upgraded TsFiles

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

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

commit b453687497ca591de3125317cdb6d5f10899055e
Author: HTHou <hh...@outlook.com>
AuthorDate: Mon Jun 7 21:39:59 2021 +0800

    Fix UpgradeTool write some empty pageheaders to upgraded TsFiles
---
 .../main/java/org/apache/iotdb/tsfile/write/chunk/ChunkWriterImpl.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tsfile/src/main/java/org/apache/iotdb/tsfile/write/chunk/ChunkWriterImpl.java b/tsfile/src/main/java/org/apache/iotdb/tsfile/write/chunk/ChunkWriterImpl.java
index 39e5f79..a1bfa14 100644
--- a/tsfile/src/main/java/org/apache/iotdb/tsfile/write/chunk/ChunkWriterImpl.java
+++ b/tsfile/src/main/java/org/apache/iotdb/tsfile/write/chunk/ChunkWriterImpl.java
@@ -404,6 +404,7 @@ public class ChunkWriterImpl implements IChunkWriter {
     } catch (IOException e) {
       throw new PageException(e);
     }
+    clearPageWriter();
   }
 
   /**