Caideyipi opened a new pull request, #19064: URL: https://github.com/apache/iotdb/pull/19064
## Problem When a sender writes the same device paths to multiple receiving clusters, the shared Pipe leader cache used only the device ID as its key. A redirect learned from one receiver could therefore route another sink's requests to that receiver, while the request still completed successfully. ## Fix - Scope cached leaders by normalized configured receiver endpoints and device ID. - Resolve async, sync, and tablet-batch routing through each sink's client manager. - Preserve the existing bounded shared cache and keep transports without leader redirection on the default batch path. ## Tests - `IoTDBDataNodeAsyncClientManagerTest`: 6 tests passed. - `PipeTransferBatchReqBuilderTest`: 4 tests passed. - `IoTDBPipeForwardIT`: 2 tests passed, including a three-cluster regression that writes directly to the middle cluster and verifies all clusters receive 60,000 points per device. - English and Chinese locale compilation passed for the changed module and dependency closure. -- 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]
