ConeyLiu commented on code in PR #2791:
URL: https://github.com/apache/uniffle/pull/2791#discussion_r4045100159


##########
server/src/main/java/org/apache/uniffle/server/ShuffleTaskManager.java:
##########
@@ -629,34 +629,43 @@ public void releaseMemory(
   public byte[] getFinishedBlockIds(
       String appId, Integer shuffleId, Set<Integer> partitions, BlockIdLayout 
blockIdLayout)
       throws IOException {
-    refreshAppId(appId);

Review Comment:
   Thanks for pointing this out. `refreshAppId` was removed intentionally 
because it may recreate an expired application via `computeIfAbsent`.
   
   However, the timestamp refresh should be preserved for valid requests. I 
have added `taskInfo.setCurrentTimes(...)` after validating the application, 
shuffle, and partitions, so valid queries still refresh the application while 
invalid queries cannot recreate or keep it alive.



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