Skip to content

[To dev/1.3] [Pipe] Improve legacy receiver error messages and diagnostics (#18932) - #18949

Merged
jt2594838 merged 2 commits into
apache:dev/1.3from
Caideyipi:cp/18932-pipe-dev-1.3
Oct 21, 2026
Merged

jt2594838 merged 2 commits into
apache:dev/1.3from
Caideyipi:cp/18932-pipe-dev-1.3

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

Backport the Pipe portion of #18932 (86ae957) 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:

  • been self-reviewed.
  • added or updated unit tests for the affected diagnostics and exception logging.

…stics

Backport the Pipe portion of 86ae957 (apache#18932), including localized diagnostics and regression coverage.
@jt2594838
jt2594838 merged commit 89dbf8f into apache:dev/1.3 Oct 21, 2026
15 of 16 checks passed
@jt2594838
jt2594838 deleted the cp/18932-pipe-dev-1.3 branch October 21, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants