roryqi commented on code in PR #2729:
URL: https://github.com/apache/uniffle/pull/2729#discussion_r2796658173
##########
client-spark/common/src/main/java/org/apache/spark/shuffle/handle/MutableShuffleHandleInfo.java:
##########
@@ -259,6 +259,15 @@ public Map<Integer, List<ShuffleServerInfo>>
getAvailablePartitionServersForWrit
// 0, 1, 2
int idx = (int) (taskAttemptId % (serverSize - 1)) + 1;
candidate = servers.get(idx);
+ } else {
Review Comment:
Actually this is a strategy. Maybe it will better to separate mechanism and
strategy.
--
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]