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/04/13 07:04:09 UTC
[incubator-iotdb] branch tyPageBug created (now 8944c83)
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a change to branch tyPageBug
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.
at 8944c83 add log
This branch includes the following new commits:
new 8944c83 add log
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: add log
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch tyPageBug
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 8944c835a237090cb489269cd5f27fd840a43c04
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Mon Apr 13 15:03:47 2020 +0800
add log
---
.../main/java/org/apache/iotdb/db/query/reader/series/SeriesReader.java | 2 ++
1 file changed, 2 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 5590615..5c90746 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
@@ -146,6 +146,7 @@ class SeriesReader {
if (!cachedPageReaders.isEmpty()
|| firstPageReader != null
|| mergeReader.hasNextTimeValuePair()) {
+ System.out.println("cachedPageReaders.isEmpty() is " + cachedPageReaders.isEmpty() + " firstPageReader != null is " + (firstPageReader != null) + " mergeReader.hasNextTimeValuePair() = " + mergeReader.hasNextTimeValuePair());
throw new IOException("all cached pages should be consumed first");
}
@@ -192,6 +193,7 @@ class SeriesReader {
if (!cachedPageReaders.isEmpty()
|| firstPageReader != null
|| mergeReader.hasNextTimeValuePair()) {
+ System.out.println("cachedPageReaders.isEmpty() is " + cachedPageReaders.isEmpty() + " firstPageReader != null is " + (firstPageReader != null) + " mergeReader.hasNextTimeValuePair() = " + mergeReader.hasNextTimeValuePair());
throw new IOException("all cached pages should be consumed first");
}