You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2020/11/12 05:29:55 UTC

[iotdb] branch ChunkMetadataCacheBug created (now f00f0ce)

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

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


      at f00f0ce  fix query bug

This branch includes the following new commits:

     new f00f0ce  fix query 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 query bug

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

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

commit f00f0cee35eb3c6d6ae60ad9a4bf3a295cbd0388
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Thu Nov 12 13:29:32 2020 +0800

    fix query bug
---
 .../src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java b/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java
index 28b2f0a..16f932e 100644
--- a/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java
+++ b/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java
@@ -1028,6 +1028,7 @@ public class TsFileSequenceReader implements AutoCloseable {
    */
   public List<ChunkMetadata> readChunkMetaDataList(TimeseriesMetadata timeseriesMetaData)
       throws IOException {
+    readFileMetadata();
     List<Pair<Long, Long>> versionInfo = tsFileMetaData.getVersionInfo();
     ArrayList<ChunkMetadata> chunkMetadataList = new ArrayList<>();
     long startOffsetOfChunkMetadataList = timeseriesMetaData.getOffsetOfChunkMetaDataList();