Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set cluster-settings via API #93

Merged

Conversation

danielmitterdorfer
Copy link
Member

With this commit we avoid the soon to be deprecated track property
cluster-settings in the pmc track and instead implement a fallback
using the update cluster settings API. Newer versions of Rally will
expose this API via a runner but for older versions we need to implement
it in the track.

With this commit we avoid the soon to be deprecated track property
`cluster-settings` in the `pmc` track and instead implement a fallback
using the update cluster settings API. Newer versions of Rally will
expose this API via a runner but for older versions we need to implement
it in the track.
@danielmitterdorfer danielmitterdorfer self-assigned this Nov 29, 2019
danielmitterdorfer added a commit to danielmitterdorfer/rally that referenced this pull request Nov 29, 2019
With this commit we introduce a new `put-settings` operation that can be
used to update cluster settings via the REST API. We also deprecate the
track property `cluster-settings` which had a similar purpose but the
cluster settings ended up in `elasticsearch.yml` instead of being
updated via an API. This is now tricky as we will move away from an
integrated cluster management (see also elastic#830) and we should instead add
settings that need to be persistent in `elasticsearch.yml` via
`--car-params` and settings that are per track via the cluster settings
API.

Relates elastic/rally-tracks#93
Copy link
Contributor

@ebadyano ebadyano left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@danielmitterdorfer
Copy link
Member Author

Thanks for the review!

@danielmitterdorfer danielmitterdorfer merged commit fb4b596 into elastic:master Dec 4, 2019
@danielmitterdorfer danielmitterdorfer deleted the cluster-settings-api branch December 4, 2019 11:22
danielmitterdorfer added a commit to elastic/rally that referenced this pull request Dec 4, 2019
With this commit we introduce a new `put-settings` operation that can be
used to update cluster settings via the REST API. We also deprecate the
track property `cluster-settings` which had a similar purpose but the
cluster settings ended up in `elasticsearch.yml` instead of being
updated via an API. This is now tricky as we will move away from an
integrated cluster management (see also #830) and we should instead add
settings that need to be persistent in `elasticsearch.yml` via
`--car-params` and settings that are per track via the cluster settings
API.

Relates elastic/rally-tracks#93
Relates #831
danielmitterdorfer added a commit that referenced this pull request Dec 4, 2019
With this commit we avoid the soon to be deprecated track property
`cluster-settings` in the `pmc` track and instead implement a fallback
using the update cluster settings API. Newer versions of Rally will
expose this API via a runner but for older versions we need to implement
it in the track.

Relates #93
danielmitterdorfer added a commit that referenced this pull request Dec 4, 2019
With this commit we avoid the soon to be deprecated track property
`cluster-settings` in the `pmc` track and instead implement a fallback
using the update cluster settings API. Newer versions of Rally will
expose this API via a runner but for older versions we need to implement
it in the track.

Relates #93
danielmitterdorfer added a commit that referenced this pull request Dec 4, 2019
With this commit we avoid the soon to be deprecated track property
`cluster-settings` in the `pmc` track and instead implement a fallback
using the update cluster settings API. Newer versions of Rally will
expose this API via a runner but for older versions we need to implement
it in the track.

Relates #93
danielmitterdorfer added a commit that referenced this pull request Dec 4, 2019
With this commit we avoid the soon to be deprecated track property
`cluster-settings` in the `pmc` track and instead implement a fallback
using the update cluster settings API. Newer versions of Rally will
expose this API via a runner but for older versions we need to implement
it in the track.

Relates #93
danielmitterdorfer added a commit that referenced this pull request Dec 4, 2019
With this commit we avoid the soon to be deprecated track property
`cluster-settings` in the `pmc` track and instead implement a fallback
using the update cluster settings API. Newer versions of Rally will
expose this API via a runner but for older versions we need to implement
it in the track.

Relates #93
danielmitterdorfer added a commit that referenced this pull request Dec 4, 2019
With this commit we avoid the soon to be deprecated track property
`cluster-settings` in the `pmc` track and instead implement a fallback
using the update cluster settings API. Newer versions of Rally will
expose this API via a runner but for older versions we need to implement
it in the track.

Relates #93
danielmitterdorfer added a commit to danielmitterdorfer/rally-tracks that referenced this pull request Feb 21, 2020
With this commit we avoid the deprecated track property
`cluster-settings` and replace it with an explicit API call.

Relates elastic#93
Relates elastic/rally#831
Relates elastic/rally#915
danielmitterdorfer added a commit that referenced this pull request Feb 21, 2020
With this commit we avoid the deprecated track property
`cluster-settings` and replace it with an explicit API call.

Relates #93
Relates elastic/rally#831
Relates elastic/rally#915
danielmitterdorfer added a commit that referenced this pull request Feb 21, 2020
With this commit we avoid the deprecated track property
`cluster-settings` and replace it with an explicit API call.

Relates #93
Relates elastic/rally#831
Relates elastic/rally#915
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants