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 automatic index management #456

Conversation

danielmitterdorfer
Copy link
Member

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

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
@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 5, 2018
@danielmitterdorfer danielmitterdorfer added this to the 0.10.0 milestone Apr 5, 2018
@danielmitterdorfer
Copy link
Member Author

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).

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 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")
Copy link
Contributor

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",
Copy link
Contributor

Choose a reason for hiding this comment

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

Yay!

@danielmitterdorfer danielmitterdorfer merged commit 76b29cc into elastic:master Apr 6, 2018
@danielmitterdorfer danielmitterdorfer deleted the explicit-index-management 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