-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prefer primaries in cluster allocation explain (#76220)
Today by default we explain the first unassigned shard in the routing table. It's not unusual for this to be a replica which is unassigned because its primary is also unassigned, which is not a helpful choice. With this commit we explain the first unassigned primary if one exists, falling back to the first unassigned replica if all primaries are assigned.
- Loading branch information
1 parent
cee82e9
commit f86929f
Showing
2 changed files
with
38 additions
and
4 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