Skip to content

Commit

Permalink
Load: remove unnecessary flushes in writer to avoid generating bad ts…
Browse files Browse the repository at this point in the history
…files (apache#14602)
  • Loading branch information
DanielWang2035 authored Jan 2, 2025
1 parent 0679728 commit 5ebbb8d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ private void write(DataPartitionInfo partitionInfo, ChunkData chunkData) throws
// writers for memory control
for (final TsFileIOWriter existingWriter : dataPartition2Writer.values()) {
existingWriter.setMaxMetadataSize(chunkMetadataMaxSizeForEachWriter);
existingWriter.checkMetadataSizeAndMayFlush();
}
dataPartition2Writer.put(partitionInfo, writer);
dataPartition2Resource.put(partitionInfo, resource);
Expand Down

0 comments on commit 5ebbb8d

Please sign in to comment.