Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes potential NullPointerException on shard closing (#21515)
It was possible that in IndexService#closeShard(), an attempt would be made to close the store where the store was not yet initialized, throwing a NullPointerException. This commit ensures that we do not call close on a store that has not yet been initialized.
- Loading branch information