Caideyipi opened a new pull request, #18689: URL: https://github.com/apache/iotdb/pull/18689
## Description Multi-device insert-node responses can carry leader redirections in per-device sub-statuses. The pipe sender previously handled only a top-level redirect for direct insert-node transfers, so its leader cache could remain stale and repeatedly route writes to the wrong receiver node. This change: - adds device paths to redirection sub-statuses for direct insert-node and binary requests; - recursively extracts per-device redirects from variable-sized batch/direct responses; - updates both async and sync sink leader caches for every redirected device; - adds coverage for multi-device, single-device, nested, diagnostic, and non-redirection statuses. ## Validation - Targeted tests: 7/7 passed on the 2.0.12.1 source baseline before porting the patch to `master`. - `mvn -pl iotdb-core/datanode spotless:check -DskipTests -Dcheckstyle.skip=true` - `git diff --check` The 40 GB cluster workload has not been rerun locally. A targeted test rerun after switching to `master` was blocked by unrelated stale cross-module generated artifacts/dependencies in the local checkout; none of the reported compilation errors referenced the files changed here. -- 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]
