forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge creating indices and shards methods in IndicesClusterStateServi…
…ce (elastic#88184) Looping over the local routing node can be quite expensive for e.g. large warm/cold/frozen nodes. We can save one full iteration as well as a couple of map lookups by dealing with index and shard creation+updates in a single loop.
- Loading branch information
1 parent
17305fc
commit 100f5ac
Showing
2 changed files
with
37 additions
and
36 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
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