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.
In ARS, correct default number of outstanding requests (elastic#71022)
When computing node’s ARS rank, we use the number of outstanding search requests to the node. If there are no connections to the node, we consider there to be 1 outstanding request. This isn’t accurate, the default should be 0 to indicate no outstanding requests. The ARS rank we return in node stats actually uses 0 instead of 1. This small fix lets us remove a test workaround. It also ensures the ARS ranks we return in node stats match the ranks we use to select shards during search. Follow-up to elastic#70283.
- Loading branch information
1 parent
3231449
commit 29af73c
Showing
2 changed files
with
5 additions
and
9 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