-
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
Update rally-* index templates for ES 7.0 #605
Labels
Milestone
Comments
danielmitterdorfer
added
enhancement
Improves the status quo
:Metrics
How metrics are stored, calculated or aggregated
labels
Nov 26, 2018
synhershko
added a commit
to synhershko/rally
that referenced
this issue
Feb 16, 2019
This fixes elastic#605
There you go: #648 :) |
Mapping got fixed in #648. I tested that changes work with older version ES 6.3.2. We need extra changes to metrics.py to be compatible with 7.0. @danielmitterdorfer is working on PR for that. |
ebadyano
pushed a commit
that referenced
this issue
Feb 25, 2019
ebadyano
added a commit
that referenced
this issue
Feb 25, 2019
danielmitterdorfer
added a commit
to danielmitterdorfer/rally
that referenced
this issue
Feb 26, 2019
With this commit we add a compatibility layer for existing metrics stores that ensures Rally will not create incompatible mappings. Without this change, Elasticsearch will complain that an existing metrics, races or results index contains multiple types. By detecting this condition upfront and instead writing to an index with the suffix `.new` we avoid this condition. Note that when a new index is created (i.e. after a month), it picks up the new mapping and is thus not prone to this issue. Relates elastic#605
danielmitterdorfer
added a commit
that referenced
this issue
Feb 26, 2019
With this commit we add a compatibility layer for existing metrics stores that ensures Rally will not create incompatible mappings. Without this change, Elasticsearch will complain that an existing metrics, races or results index contains multiple types. By detecting this condition upfront and instead writing to an index with the suffix `.new` we avoid this condition. Note that when a new index is created (i.e. after a month), it picks up the new mapping and is thus not prone to this issue. Relates #605 Relates #655
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Rally defines default index templates for the index patterns
rally-metrics-*
,rally-races-*
andrally-results-*
in the resources directory of the source tree. When using an ES 6.x metrics store we get the following warnings:To be compatible with 7.0, we should change the mappings that Rally provides out of the box.
We should also switch the (sole) type for all indices to
_doc
as recommended in the Elasticsearch docs.The text was updated successfully, but these errors were encountered: