-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure consistent return order when querying a servergroup
Without this whichever target responded first was the "base". This works for most things, but when there are rates etc. it can sometimes differ. A noticeable case was doing a query like sum(subset) / sum(totalset) and you would sometimes get values >1 -- this was due to the fact that the numbers in the query weren't coming from the same server in the servergroup. This patch makes a best-effort attempt to do so. There is still a possibility for an issue if the servergroup target list changes mid-query, but otherwise its resolved
- Loading branch information
Showing
2 changed files
with
109 additions
and
91 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