-
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 automatic index management #456
Remove automatic index management #456
Conversation
With this commit we remove the ability that Rally automatically deletes and creates indices and users need to add explicit tasks now to their tracks in order to make this work. The rationale behind all this work is that we want the core of Rally to be agnostic to the tasks that it executes. Closes elastic#380
This should be reviewed together with elastic/rally-tracks#41 (the change in rally-tracks is compatible with older versions of Rally so the track changes will be merged first). |
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 pulling this massive PR (and associated ones)!
This looks very sane and it tests are passing without hiccups for me.
LGTM.
MAXIMUM_SUPPORTED_TRACK_VERSION = 2 | ||
""" | ||
Creates a track from a track file. | ||
""" | ||
|
||
def __init__(self, cfg): | ||
track_schema_file = "%s/resources/track-schema.json" % (cfg.opts("node", "rally.root")) | ||
track_schema_file = os.path.join(cfg.opts("node", "rally.root"), "resources", "track-schema.json") |
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.
👍 one more step towards platform independence 😆
@@ -679,7 +679,7 @@ def test_post_processes_track_spec(self): | |||
"operations": [ | |||
{ | |||
"name": "index-append", | |||
"operation-type": "index", | |||
"operation-type": "bulk", |
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.
Yay!
With this commit we remove the ability that Rally automatically deletes
and creates indices and users need to add explicit tasks now to their
tracks in order to make this work.
The rationale behind all this work is that we want the core of Rally to
be agnostic to the tasks that it executes.
Closes #380