-
-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
projecttracker: Update for reproducibility and avoid CME
The project tracker did not have an ordering in how projects were processed and returned. So we sort the dir names and also return the projects in this sorted order to provide consistent actions across systems. We also avoid leaking a live copy of the values through the notifier by making a copy of the values. We also remove the use of Map.compute. All of these should ameliorate the CME (ConcurrentModificationException) in #5121. Signed-off-by: BJ Hargrave <bj@hargrave.dev>
- Loading branch information
1 parent
599c072
commit 4391707
Showing
1 changed file
with
68 additions
and
47 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