-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accept some differing units for throttling (#1103)
With #1100 we introduced more flexible throttling which requires that the unit in which requests are throttled and the unit in which they are reported, are aligned. This causes issues at the moment with scroll requests which are throttled in ops/s but reported in pages/s. Similarly we have also throttled bulk requests based on ops/s sometimes but their throughput is reported in docs/s. With this commit we correct the unit mismatch for this special case in order to stay backwards-compatible with older versions of Rally. We also ensure that throttling is preserved in test mode so our integration tests can spot such issues in the future. Relates #1100
- Loading branch information
1 parent
4d4f863
commit d10979f
Showing
3 changed files
with
42 additions
and
5 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
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