Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if node is still present when collecting attribute shard routings
The node we need to lookup for attribute colelction might not be part of the `DiscoveryNodes` anymore due to node failure or shutdown. This commit adds a check and removes the shard from the iteration. Closes #4589
- Loading branch information
Showing
1 changed file
with
25 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters