Repository navigation
Implement UDP transport for air-gap sink - #17954
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #17954 +/- ##
============================================
+ Coverage 45.95% 47.99% +2.03%
+ Complexity 712 604 -108
============================================
Files 5505 5572 +67
Lines 400063 409989 +9926
Branches 52185 54052 +1867
============================================
+ Hits 183868 196784 +12916
+ Misses 216195 213205 -2990 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
# Conflicts: # iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/sink/protocol/IoTDBAirGapSink.java
…-udp-transport
…-udp-transport # Conflicts: # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/airgap/IoTDBAirGapReceiver.java # iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/receiver/protocol/airgap/IoTDBAirGapReceiverTest.java
|
Preserve the AirGap retry body fix for both TCP and UDP receiver paths.
…-17954-conflict # Conflicts: # iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/sink/protocol/airgap/IoTDBDataRegionAirGapSinkTest.java
|
Automated preliminary correctness review (Codex CLI, based on PR head
This review is AI-assisted and not an approval or request for changes. Please verify each scenario before acting. |
|
@hongzhi-gao Thanks for the review. Both points are addressed in d941282: UDP ACKs now carry request IDs that the sender validates, preventing stale ACKs from acknowledging later requests. UDP sessions are registered only after frame and checksum validation, expire after inactivity, and are capped at 1,024 with receiver cleanup on eviction. The targeted AirGap tests pass (17 tests, 0 failures). Full DataNode test compilation is still blocked by the existing unrelated PipeHeartbeatEvent constructor mismatch in PipeMemoryManagerResizeTest.java:506. |
|







Summary
Tests