f950c121bb
Today `InternalEngine#releaseIndexCommit` fails with an `AlreadyClosedException` if the engine is closed before the index commit is released. This can happen if, for example, a node leaves and rejoins the cluster and acquires an index commit for replica shard allocation concurrently with shutting the shard down. There's no need to fail the operation like this: if the engine is shut down then we will clean up the unreferenced files when it's restarted (or if it's allocated elsewhere) so we can suppress an `AlreadyClosedException` in this case. This commit does so. Fixes #57797 |
||
---|---|---|
.. | ||
licenses | ||
src | ||
build.gradle |