Skip to content

Commit

Permalink
[CELEBORN-1094] Optimize mechanism of ChunkManager expired shuffle ke…
Browse files Browse the repository at this point in the history
…y cleanup to avoid memory leak
  • Loading branch information
SteNicholas committed Nov 2, 2023
1 parent e22ef17 commit 115e27d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public void cleanupExpiredShuffleKey(Set<String> expiredShuffleKeys) {

// normally expiredStreamIds set will be empty as streamId will be removed when be fully read
if (expiredStreamIds != null && !expiredStreamIds.isEmpty()) {
expiredStreamIds.parallelStream().forEach(streams::remove);
expiredStreamIds.forEach(streams::remove);
}
}
logger.info(
Expand Down

0 comments on commit 115e27d

Please sign in to comment.