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 2022/01/20 02:08:44 UTC
[iotdb] branch OverlappedPageBug012 created (now fa40f0f)
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a change to branch OverlappedPageBug012
in repository https://gitbox.apache.org/repos/asf/iotdb.git.
at fa40f0f [To rel/0.12] [IOTDB-2445] Fix overlapped data should be consumed first bug
This branch includes the following new commits:
new fa40f0f [To rel/0.12] [IOTDB-2445] Fix overlapped data should be consumed first 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: [To rel/0.12] [IOTDB-2445] Fix overlapped data should be consumed first bug
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch OverlappedPageBug012
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit fa40f0f5c13d8f377972d9a672d7d5797c53c610
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Thu Jan 20 10:07:42 2022 +0800
[To rel/0.12] [IOTDB-2445] Fix overlapped data should be consumed first bug
---
.../java/org/apache/iotdb/db/query/reader/series/SeriesReader.java | 5 +++++
1 file changed, 5 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 b024b3a..64141d6 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
@@ -830,6 +830,11 @@ public class SeriesReader {
currentPageEndpointTime = orderUtils.getOverlapCheckTime(firstPageReader.getStatistics());
}
+ // unpack all overlapped data for currentPageEndpointTime
+ unpackAllOverlappedTsFilesToTimeSeriesMetadata(currentPageEndpointTime);
+ unpackAllOverlappedTimeSeriesMetadataToCachedChunkMetadata(currentPageEndpointTime, false);
+ unpackAllOverlappedChunkMetadataToPageReaders(currentPageEndpointTime, false);
+
/*
* put all currently directly overlapped unseq page reader to merge reader
*/