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/06/29 05:48:39 UTC
[incubator-iotdb] branch bug/overlappedData created (now 2388207)
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a change to branch bug/overlappedData
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.
at 2388207 fix series reader bug
This branch includes the following new commits:
new 2388207 fix series reader 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.
[incubator-iotdb] 01/01: fix series reader bug
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch bug/overlappedData
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 23882077d2d77e97e856477b005b8498cef5b355
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Mon Jun 29 13:48:14 2020 +0800
fix series reader bug
---
.../java/org/apache/iotdb/db/query/reader/series/SeriesReader.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/server/src/main/java/org/apache/iotdb/db/query/reader/series/SeriesReader.java b/server/src/main/java/org/apache/iotdb/db/query/reader/series/SeriesReader.java
index 2fa3717..bc7f76a 100644
--- a/server/src/main/java/org/apache/iotdb/db/query/reader/series/SeriesReader.java
+++ b/server/src/main/java/org/apache/iotdb/db/query/reader/series/SeriesReader.java
@@ -347,6 +347,10 @@ public class SeriesReader {
*/
if (!cachedPageReaders.isEmpty()) {
firstPageReader = cachedPageReaders.poll();
+ long endTime = firstPageReader.getEndTime();
+ unpackAllOverlappedTsFilesToTimeSeriesMetadata(endTime);
+ unpackAllOverlappedTimeSeriesMetadataToCachedChunkMetadata(endTime, false);
+ unpackAllOverlappedChunkMetadataToCachedPageReaders(endTime, false);
}
}