This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch optimize_single_device_tablet_v3_iotv1
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to
refs/heads/optimize_single_device_tablet_v3_iotv1 by this push:
new 5e22afd5440 fix compile
5e22afd5440 is described below
commit 5e22afd54404a075b9cbf9524d51b3f52288f030
Author: HTHou <[email protected]>
AuthorDate: Wed Mar 19 09:46:26 2025 +0800
fix compile
---
.../iotdb/db/queryengine/execution/executor/RegionWriteExecutor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/executor/RegionWriteExecutor.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/executor/RegionWriteExecutor.java
index 292f83f9020..141f52ea851 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/executor/RegionWriteExecutor.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/executor/RegionWriteExecutor.java
@@ -311,7 +311,7 @@ public class RegionWriteExecutor {
"Failed to complete the insertion because trigger error before
the insertion.");
} else {
final long startWriteTime = System.nanoTime();
- if (CONFIG.getDataRegionNum()) insertNode.cachedByteBuffer();
+ insertNode.cachedByteBuffer();
insertNode.getMemorySize();
status = dataRegionConsensus.write(groupId, insertNode);
PERFORMANCE_OVERVIEW_METRICS.recordScheduleStorageCost(System.nanoTime() -
startWriteTime);