-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(storage): more tweaks to ranged reads (#9400)
The benchmark would perform a range read with 50% probability, but some ranged reads were "full" as the range was larger than the object. I found it hard to reason about this, so now only the range size controls whether the read is full or not. I also rediscovered a quirk of the JSON API, that it is better avoided: reading the last 0 bytes actually returns all the bytes. Maybe we should fix this in the client library itself, for now just avoid running into it.
- Loading branch information
Showing
2 changed files
with
10 additions
and
6 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