Caideyipi opened a new pull request, #18723: URL: https://github.com/apache/iotdb/pull/18723
## Description Backport of #18721 (commit `7984abcabb628da2eae9dc81a51037738340c032`) to `dev/1.3`. The AirGap receiver now duplicates the request body before each receive attempt, so a temporary-unavailable retry reads the complete payload instead of reusing a consumed `ByteBuffer` position. A regression test verifies that both attempts receive the same body and that the original request remains unconsumed. The test conflict was resolved against the existing `dev/1.3` test structure; the source fix and regression coverage are preserved. ## Verification - `mvn spotless:apply -pl iotdb-core/datanode` - `mvn test -pl iotdb-core/datanode -Dtest=IoTDBAirGapReceiverTest "-Ddevelocity.off=true"` - 6 tests passed, 0 failures, 0 errors <hr> This PR has: - [x] been self-reviewed. - [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage. <hr> ##### Key changed/added classes in this PR - `IoTDBAirGapReceiver` - `IoTDBAirGapReceiverTest` -- 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]
