Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SnapshotShardsService Simplifications (elastic#38025)
* Instead of replacing the `shardSnapshots` field, we mutate it, explicitly removing entries from it in only a single spot * Decreased the amount of indirection by moving all logic for starting a snapshot's newly discovered shard tasks into `startNewShards` (saves us two maps (keyed by snapshot) and iterations over them)
- Loading branch information