Skip to content

HLRC: Reindex should support requests_per_seconds parameter#33808

Merged
cbuescher merged 3 commits intoelastic:masterfrom
cbuescher:reindex-hl-addRequestPerSecond
Sep 20, 2018
Merged

HLRC: Reindex should support requests_per_seconds parameter#33808
cbuescher merged 3 commits intoelastic:masterfrom
cbuescher:reindex-hl-addRequestPerSecond

Conversation

@cbuescher
Copy link
Copy Markdown
Member

The high level Rest clients reindex method currently doesn't pass on the
"requests_per_second" that are optionally set in ReindexRequest through the Rest
layer. This change makes sure the value is added to the request parameters if
set.

The high level Rest clients reindex method currently doesn't pass on the
"requests_per_second" that are optionally set in ReindexRequest through the Rest
layer. This change makes sure the value is added to the request parameters if
set.
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra

@cbuescher
Copy link
Copy Markdown
Member Author

@nik9000 would you mind taking a look at this? I will need something like this for the other incoming HL client work on rethrotteling I'm doing, but I factored this out as an indipendent change.

@cbuescher
Copy link
Copy Markdown
Member Author

I made the additions in RequestConverters to support requests_per_second with update/deleteByQuery in this PR instead of in #33832

Copy link
Copy Markdown
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cbuescher cbuescher merged commit 019aead into elastic:master Sep 20, 2018
cbuescher pushed a commit that referenced this pull request Sep 20, 2018
The high level Rest clients reindex method currently doesn't pass on the
"requests_per_second" that are optionally set in ReindexRequest through the Rest
layer. This change makes sure the value is added to the request parameters if
set and also includes it for the update-by-query and delete-by-query cases.
kcm pushed a commit that referenced this pull request Oct 30, 2018
The high level Rest clients reindex method currently doesn't pass on the
"requests_per_second" that are optionally set in ReindexRequest through the Rest
layer. This change makes sure the value is added to the request parameters if
set and also includes it for the update-by-query and delete-by-query cases.
@cbuescher cbuescher deleted the reindex-hl-addRequestPerSecond branch November 27, 2025 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants