Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle AlreadyClosedException when bumping primary term
If the shard is already closed while bumping the primary term, this can result in an AlreadyClosedException to be thrown. As we use asyncBlockOperations, the exception will be thrown on a thread from the generic thread pool and end up in the uncaught exception handler, failing our tests. Relates to #32442
- Loading branch information