You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2021/12/02 14:21:08 UTC
[iotdb] branch rel/0.12 updated: Fix read data bug (#4520)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.12 by this push:
new c95fab5 Fix read data bug (#4520)
c95fab5 is described below
commit c95fab5c53abf8d40a3e930a3dc33d10f7a8a8bc
Author: Xiangwei Wei <34...@users.noreply.github.com>
AuthorDate: Thu Dec 2 22:20:40 2021 +0800
Fix read data bug (#4520)
---
.../main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 40ebdf0..3fb94f1 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
@@ -929,8 +929,8 @@ public class TsFileSequenceReader implements AutoCloseable {
+ "actual read size: %s, position: %s",
allocateSize, actualReadSize, position));
}
+ position += allocateSize;
}
- position += allocateSize;
}
buffer.flip();
return buffer;