This is an automated email from the ASF dual-hosted git repository.
rong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 6cbe5f0d577 [IOTDB-6165] Pipe: cache device metadata in TsFile reader
to avoid redundant IO (#11186)
6cbe5f0d577 is described below
commit 6cbe5f0d57737ee4598c1e974892e093b6657ecb
Author: 马子坤 <[email protected]>
AuthorDate: Fri Sep 22 16:44:23 2023 +0800
[IOTDB-6165] Pipe: cache device metadata in TsFile reader to avoid
redundant IO (#11186)
---
.../iotdb/db/pipe/event/common/tsfile/TsFileInsertionDataContainer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/TsFileInsertionDataContainer.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/TsFileInsertionDataContainer.java
index 6c118880e77..725aab5b3a1 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/TsFileInsertionDataContainer.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/TsFileInsertionDataContainer.java
@@ -90,7 +90,7 @@ public class TsFileInsertionDataContainer implements
AutoCloseable {
this.sourceEvent = sourceEvent;
try {
- tsFileSequenceReader = new
TsFileSequenceReader(tsFile.getAbsolutePath());
+ tsFileSequenceReader = new
TsFileSequenceReader(tsFile.getAbsolutePath(), true, true);
tsFileReader = new TsFileReader(tsFileSequenceReader);
deviceMeasurementsMapIterator =
filterDeviceMeasurementsMapByPattern().entrySet().iterator();