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

Remove 'index-settings' property #461

Merged

Conversation

danielmitterdorfer
Copy link
Member

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 #381

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
@danielmitterdorfer danielmitterdorfer added enhancement Improves the status quo :Track Management New operations, changes in the track format, track download changes and the like breaking Non-backwards compatible change labels Apr 6, 2018
@danielmitterdorfer danielmitterdorfer added this to the 0.10.0 milestone Apr 6, 2018
@danielmitterdorfer
Copy link
Member Author

Note: There is no need to adapt our default tracks because this has already been done in elastic/rally-tracks#41.

Copy link
Contributor

@dliappis dliappis left a 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.

]
}

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:
Copy link
Contributor

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 ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed.


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.
Copy link
Contributor

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?

Copy link
Member Author

Choose a reason for hiding this comment

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

You're right. Changed.

@danielmitterdorfer danielmitterdorfer merged commit 2b6b012 into elastic:master Apr 10, 2018
@danielmitterdorfer danielmitterdorfer deleted the remove-index-settings branch April 20, 2018 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Non-backwards compatible change enhancement Improves the status quo :Track Management New operations, changes in the track format, track download changes and the like
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants