FMX commented on code in PR #2625:
URL: https://github.com/apache/celeborn/pull/2625#discussion_r1677351406
##########
client/src/main/java/org/apache/celeborn/client/ShuffleClientImpl.java:
##########
@@ -1670,6 +1670,11 @@ public ReduceFileGroups updateFileGroup(int shuffleId,
int partitionId)
throws CelebornIOException {
Tuple2<ReduceFileGroups, String> fileGroupTuple =
Review Comment:
```suggestion
Tuple2<ReduceFileGroups, String> fileGroupTuple =
reduceFileGroupsMap.compute(shuffleId, (id, existsTuple) -> {
if (existsTuple == null || existsTuple._1 == null) {
return loadFileGroupInternal(shuffleId);
} else {
return existsTuple;
}
});
```
--
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]