-
Notifications
You must be signed in to change notification settings - Fork 313
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
Remove 'index-settings' property #461
Remove 'index-settings' property #461
Conversation
With this commit we remove the deprecated track property `index-settings`. Since Rally 0.9.0, index settings can be provided via the `settings` property of the `create-index` operation hence making a specific property obsolete. Closes elastic#381
Note: There is no need to adapt our default tracks because this has already been done in elastic/rally-tracks#41. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pushing this! Very nice to see things getting cleaned up going forwards.
I left a few comments.
docs/command_line_reference.rst
Outdated
] | ||
} | ||
|
||
Rally tracks can use the Jinja templating language and the construct ``{{ some_variable|default(0) }}`` that you can see above is a `feature of Jinja <http://jinja.pocoo.org/docs/2.10/templates/#default>`_ to define default values for variables. | ||
|
||
We can see that it defines two variables: | ||
We can see that it defines a variables: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/a variables/a number of variables ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
docs/command_line_reference.rst
Outdated
|
||
When we run this track, we can override these defaults: | ||
|
||
* ``--track-params="replica_count:1,shard_count:3"`` will set the number of replicas to 1 and the number of shards to 3. | ||
* ``--track-params="replica_count:1"`` will just set the number of replicas to 1 and just keep the default value of 5 shards. | ||
* ``--track-params="bulk_size:2000,clients:16"`` will set the bulk size to 2000 and the number of clients for bulk indexing to 8. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/to 8/to 16?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right. Changed.
With this commit we remove the deprecated track property
index-settings
. Since Rally 0.9.0, index settings can be provided viathe
settings
property of thecreate-index
operation hence making aspecific property obsolete.
Closes #381