You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2019/06/21 07:39:08 UTC

[incubator-iotdb] branch fix_nativeRestoreTsFileWriter_if_file_is_complete updated (54f5eb2 -> c0c38f8)

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

jiangtian pushed a change to branch fix_nativeRestoreTsFileWriter_if_file_is_complete
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


    from 54f5eb2  fix truncated position
     add c0c38f8  fix that the last complete ChunkGroup is ignored in an incomplete TsFile. fix that the offset of chunk is incorrectly read when self-checking in TsFileSequenceReader.

No new revisions were added by this update.

Summary of changes:
 .../tsfile/file/metadata/ChunkGroupMetaData.java   |  2 +-
 .../iotdb/tsfile/read/TsFileSequenceReader.java    | 53 +++++++++-------------
 .../iotdb/tsfile/utils/ReadWriteIOUtils.java       | 36 ++++++++++++---
 .../write/writer/NativeRestorableIOWriter.java     |  2 +-
 .../write/writer/NativeRestorableIOWriterTest.java | 25 +++++++++-
 5 files changed, 77 insertions(+), 41 deletions(-)