wForget opened a new issue, #2821: URL: https://github.com/apache/uniffle/issues/2821
### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) ### Search before asking - [x] I have searched in the [issues](https://github.com/apache/incubator-uniffle/issues?q=is%3Aissue) and found no similar issues. ### Describe the bug ### Problem When a shuffle partition has already been split in `LOAD_BALANCE` mode, a block send failure can cause the task to fail with: ```text RssException: No available replacement server for: <serverId> ``` This can happen even when other servers are assigned to the partition. In the observed case, the reassignment RPC succeeded, but the executor selected the same server that had returned `NO_BUFFER`: ```text Initiate reassignOnBlockSendFailure ... isPartitionSplit: false ... statusCode=NO_BUFFER [partition-reassign] Do reassign request successfully in 36 ms. list: But currently the replacement server ... is the same with previous one! ``` ### Root cause The Driver routes reassignment for an already split partition through `updateAssignmentOnPartitionSplit()`, even when the request is triggered by a send failure. That method updates the partition split replacement mapping and preserves historical servers. However, `LOAD_BALANCE` writer selection filters only the shuffle-level failure exclusions and task-local partition exclusions. The failed-block resend path does not populate the task-local exclusions, so selection can return the failed server again. ### Expected behavior For an already split partition in `LOAD_BALANCE` mode, failed blocks should switch to another existing candidate when available, without requiring another Driver reassignment request or excluding the server across the entire shuffle. Historical assignments must remain available for reading previously written blocks. ### Proposed fix Call `TaskAttemptAssignment.tryNextServerForSplitPartition()` with the failed servers before constructing the Driver reassignment request. Reuse the existing request path if the selected server still requires replacement. ### Affects Version(s) master ### Uniffle Server Log Output ```logtalk ``` ### Uniffle Engine Log Output ```logtalk ``` ### Uniffle Server Configurations ```yaml ``` ### Uniffle Engine Configurations ```yaml ``` ### Additional context _No response_ ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! -- 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]
