forked from elastic/rally
-
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.
With this commit we honor the parameter `ingest-percentage` again for bulk requests. Before elastic#763, the method `size()` was used to determine upfront when a parameter source is exhausted. When we changed the API then in elastic#763 the parameter source's progress indication was instead done with the `percent_completed` property but this is only informational and the parameter source is required to raise `StopIteration` to indicate completion. This means that `ingest-percentage` was not considered anymore for bulks but instead we always read the input file(s) completely and then terminated with `StopIteration`. Relates elastic#763 Relates elastic#768
- Loading branch information
1 parent
86d2fb6
commit 0dbe479
Showing
2 changed files
with
54 additions
and
23 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