roryqi commented on code in PR #2742:
URL: https://github.com/apache/uniffle/pull/2742#discussion_r2974330953


##########
server/src/main/java/org/apache/uniffle/server/ShuffleTaskManager.java:
##########
@@ -494,50 +482,41 @@ public void updateCachedBlockIds(
     }
     ShuffleTaskInfo shuffleTaskInfo =
         shuffleTaskInfos.computeIfAbsent(appId, x -> new 
ShuffleTaskInfo(appId));
-    long size = 0L;
-    // With memory storage type should never need cachedBlockIds,
+    int blockCount = spbs.length - 
shufflePartitionedData.getDuplicateBlockCount();

Review Comment:
   Why do we need commit the data? If we use memory mode, we can avoid 
committing the blocks.



-- 
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]

Reply via email to