# version-1 -> version-2

Last Updated on 2019-11-28 by Jialin Qiao.

PR# Name Author Changes
553 [IOTDB-279] Merge TsDigest into Statistics jack870131 Merge the function of TsDigest into Statistics class, which TsDisgest is the ByteBuffer format of Statistics
587 [IOTDB-325] Refactor Statistics qiaojialin Move start time, end time, count in PageHeader and ChunkMetadata into Statistics; Remove maxTombstoneTime in ChunkHeader
855 [IOTDB-587] New TsFile version 2 HTHou Remove ChunkGroupMetadata, store ChunkMetadata list by series, Add TimeseriesMetadata for each series
1024 [IOTDB-585] Fix recover version bug qiaojialin Add MetaMarker.VERSION and version behind each flushing memtable (flushAllChunkGroups)
1047 [IOTDB-593] Add metaOffset in TsFileMetadata qiaojialin Add metaOffset in TsFileMetadata
1100 [IOTDB-605] Add more levels of index in TsFileMetadata sunzesong Update the structure of deviceMetadata to a tree-level indexed TsFileMetadata

# 0.8.0 (version-0) -> version-1

Last Updated on 2019-10-27 by Lei Rui.

PR# Name Author Changes
258 [IOTDB-143]Development of merge jt2594838 Add totalChunkNum and invalidChunkNum to TsFileMetaData.
409 [IOTDB-165][TsFile] Delete a current version and add a number version and an exception. Genius_pig (1) Delete a current version in TsFileMetaData;
(2) Change the TsFile magic number from 12 bytes to: 6 bytes magic string ("TsFile") + 6 bytes version number ({"000001", "000002", ""000003"}) ("v0.8.0" is the first version (we treat it as "000000"));
(3) The tail of a TsFile only has "TsFile" magic string, without the version number.
466 [IOTDB-208] Bloom filter SilverNarcissus Add four fields for the bloom filter to TsFileMetaData: 1) bit vector byte array length, 2) bit vector byte array, 3) the number of bits, 4) the number of hash functions.

Copyright © 2020 The Apache Software Foundation.
Apache and the Apache feather logo are trademarks of The Apache Software Foundation

Disclaimer: Apache IoTDB (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.