Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Tripped Assertion on Resync during Node Shutdown (elastic#71062)
We can have a race here where the closed check passes and then we concurrently to a shard close try to fail the shard also. Previously this was covered by the catch below the changed code that would just ignore the already-closed exception but with elastic#69949 we're now forking to the generic pool for this logic and thus have to handle the exception in the callback as well.
- Loading branch information