zhaostu4 commented on code in PR #2626:
URL: https://github.com/apache/celeborn/pull/2626#discussion_r1725402337
##########
client/src/main/java/org/apache/celeborn/client/read/CelebornInputStream.java:
##########
@@ -344,6 +344,11 @@ private PartitionReader createReaderWithRetry(
if (isExcluded(location)) {
throw new CelebornIOException("Fetch data from excluded worker! "
+ location);
}
+ // should switch the location at a high level
+ if (fetchChunkRetryCnt == 0 && attemptNumber % 2 == 1 &&
location.hasPeer()) {
+ location = location.getPeer();
Review Comment:
This situation does not need to be considered because WorkerPartitionReader
has been made compatible
--
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]