wangshengjie123 commented on code in PR #2373:
URL:
https://github.com/apache/incubator-celeborn/pull/2373#discussion_r1536775472
##########
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/FetchHandler.scala:
##########
@@ -223,8 +227,8 @@ class FetchHandler(
// 1. when the current request is a non-range openStream, but the
original unsorted file
// has been deleted by another range's openStream request.
// 2. when the current request is a range openStream request.
- if ((endIndex != Int.MaxValue) || (endIndex == Int.MaxValue &&
!fileInfo.addStream(
- streamId))) {
+ if (shuffleNeedSort && ((endIndex != Int.MaxValue) ||
+ (endIndex == Int.MaxValue && !fileInfo.addStream(streamId)))) {
Review Comment:
Done
--
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]