Caideyipi opened a new pull request, #18721: URL: https://github.com/apache/iotdb/pull/18721
## What happened\n\nAirGap retries a temporarily unavailable request by calling the receiver again with the same request object. Tablet batch decoding advances the request body's ByteBuffer position, so a later local retry can parse an exhausted buffer and fail with BufferUnderflowException.\n\n## Changes\n\n- Pass a request copy with an independent ByteBuffer position to each receiver attempt.\n- Add a regression test covering a temporary-unavailable response followed by a successful retry.\n\n## Operational note\n\nSystem rejected over the configured insert wait limit is the upstream backpressure event that can trigger the temporary-unavailable retry. This change fixes the subsequent AirGap request-body reuse failure; it does not remove the write rejection itself. As an immediate mitigation, set pipe_air_gap_retry_max_ms=0 and restart the DataNode to disable local retry, allowing the sender to retry the complete request.\n\n## Validation\n\nDiff whitespace check passed. The loca l Maven test could not complete because this Windows host ran out of native/Java heap memory; please rely on CI for the test run. -- 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]
