File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
server/src/main/java/org/elasticsearch/snapshots Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change
1
+ pr : 101652
2
+ summary : Fix race condition in `SnapshotsService`
3
+ area : Snapshot/Restore
4
+ type : bug
5
+ issues : []
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ public class SnapshotsService extends AbstractLifecycleComponent implements Clus
162
162
/**
163
163
* Listeners for snapshot deletion keyed by delete uuid as returned from {@link SnapshotDeletionsInProgress.Entry#uuid()}
164
164
*/
165
- private final Map <String , List <ActionListener <Void >>> snapshotDeletionListeners = new HashMap <>();
165
+ private final Map <String , List <ActionListener <Void >>> snapshotDeletionListeners = new ConcurrentHashMap <>();
166
166
167
167
// Set of repositories currently running either a snapshot finalization or a snapshot delete.
168
168
private final Set <String > currentlyFinalizing = Collections .synchronizedSet (new HashSet <>());
You can’t perform that action at this time.
0 commit comments