This is an automated email from the ASF dual-hosted git repository.
rong pushed a commit to branch dev/1.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/dev/1.3 by this push:
new 78b29c03fc1 Load: remove unnecessary flushes in writer to avoid
generating bad tsfile (#14602) (#14609)
78b29c03fc1 is described below
commit 78b29c03fc1df412f0fae3ce0835561cace31836
Author: Zikun Ma <[email protected]>
AuthorDate: Thu Jan 2 15:51:44 2025 +0800
Load: remove unnecessary flushes in writer to avoid generating bad tsfile
(#14602) (#14609)
(cherry picked from commit 5ebbb8da6a016f1a50da4849b5f99d253b4b32fa)
---
.../java/org/apache/iotdb/db/storageengine/load/LoadTsFileManager.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/LoadTsFileManager.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/LoadTsFileManager.java
index d0e27ebbe6c..598f3bd0cd9 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/LoadTsFileManager.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/LoadTsFileManager.java
@@ -426,7 +426,6 @@ public class LoadTsFileManager {
// writers for memory control
for (final TsFileIOWriter existingWriter :
dataPartition2Writer.values()) {
existingWriter.setMaxMetadataSize(chunkMetadataMaxSizeForEachWriter);
- existingWriter.checkMetadataSizeAndMayFlush();
}
dataPartition2Writer.put(partitionInfo, writer);
dataPartition2Resource.put(partitionInfo, resource);