jt2594838 commented on code in PR #18233:
URL: https://github.com/apache/iotdb/pull/18233#discussion_r3635090410
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/TsFileProcessor.java:
##########
@@ -281,6 +281,21 @@ private void ensureMemTable(long[] infoForMetrics) {
}
}
+ private static void clearDataRegionReplicaSet(final InsertRowNode
insertRowNode) {
+ insertRowNode.setDataRegionReplicaSet(null);
+ }
+
+ private static void clearDataRegionReplicaSet(final InsertRowsNode
insertRowsNode) {
+ insertRowsNode.setDataRegionReplicaSet(null);
+ for (final InsertRowNode insertRowNode :
insertRowsNode.getInsertRowNodeList()) {
+ clearDataRegionReplicaSet(insertRowNode);
+ }
+ }
+
+ private static void clearDataRegionReplicaSet(final InsertTabletNode
insertTabletNode) {
+ insertTabletNode.setDataRegionReplicaSet(null);
+ }
+
Review Comment:
<img width="1899" height="1502" alt="image"
src="https://github.com/user-attachments/assets/c84cf350-8b3f-4e93-bd6e-796e3c2cb2b9"
/>
<img width="1603" height="1260" alt="image"
src="https://github.com/user-attachments/assets/03ff4dcf-1be0-4543-8f31-bb543f1c8a7e"
/>
May add planNodeTree.clearUselessFieldAfterDispatch here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]