mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-13 00:15:47 +00:00
In the assertion mentioned in the new comment we first get the `endingSnapshots` and then check that we don't have a listener that isn't referred to by it so we need to remove from the listers map before removing from `endingSnapshots` to avoid rare, random assertion tripping here with concurrent repository operations.