HappenLee opened a new pull request, #66103: URL: https://github.com/apache/doris/pull/66103
### What problem does this PR solve? Issue Number: close #xxx Related PR: #59431 Problem Summary: Cherry-pick #59431 to branch-4.1. For RANDOM shuffle, the exchange sink used to send blocks to channels in round-robin order one by one. This change collects local channel ids during init and prefers sending to local channels first, reducing network overhead and improving performance. ### Release note None ### Check List (For Author) - Test: No need to test (pure cherry-pick from master with minor conflict resolution on namespace) - Behavior changed: No - Does this need documentation: No -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
