-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE-456] Avoid removing resources for multiple times (#459)
### What changes were proposed in this pull request? If `Resource` had been removed, avoid removing twice. ### Why are the changes needed? When some appIds' removeResource took too much time, the `expiredAppCleanupExecutorService` in ShuffleTaskManager would check and detect the same appId is expired multiple times. Therefore the same appId might be added to `expiredAppIdQueue` multiple times. This PR fixes #456 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? UT
- Loading branch information
1 parent
ebaff6a
commit 3f166f4
Showing
2 changed files
with
62 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters