dingshun3016 commented on code in PR #1652:
URL:
https://github.com/apache/incubator-uniffle/pull/1652#discussion_r1571697662
##########
client-spark/common/src/main/java/org/apache/spark/shuffle/writer/WriteBufferManager.java:
##########
@@ -344,7 +368,7 @@ protected ShuffleBlockInfo createShuffleBlock(int
partitionId, WriterBuffer wb)
compressed.length,
crc32,
compressed,
- partitionToServers.get(partitionId),
+ partitionAssignmentRetrieveFunc.apply(partitionId),
Review Comment:
partitionAssignmentRetrieveFunc is to get the latest server, but if the
partition id is not registered in the latest server, then the sending will fail.
--
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]