Caideyipi opened a new pull request, #18949: URL: https://github.com/apache/iotdb/pull/18949
## Description Backport the Pipe portion of #18932 (86ae95729ab5bf205aa88221d6e7cff1dc99c75d) to `dev/1.3`. Legacy Pipe receiver failures now retain the exception stack trace and return the same formatted diagnostic to the sender. File-resolution failures identify the file; append failures include the file name, requested offset, and byte count. Existing status codes and numeric offset-redirection responses are preserved. Add matching English and Chinese `DataNodePipeMessages` containing only the four legacy receiver templates, and backport the write-failure regression test and updated path-validation assertions. Adapt those assertions to the existing `dev/1.3` file-validation messages. Subscription changes are excluded. ## Validation - Full-reactor `mvn -nsu test-compile -DskipTests`, with the default locale and with `-P with-zh-locale`. - `IoTDBLegacyPipeReceiverAgentTest`: 4 tests passed in each locale, using `-pl iotdb-core/datanode -am test -Dtest=IoTDBLegacyPipeReceiverAgentTest -Dsurefire.failIfNoSpecifiedTests=false`. - Spotless, Checkstyle, and `git diff --check` passed. - Verified that all four English/Chinese templates match the source commit, with matching keys, format specifiers, and deterministic names. This PR has: - [x] been self-reviewed. - [x] added or updated unit tests for the affected diagnostics and exception logging. -- 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]
