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

Store system metrics if race metadata are present #874

Merged

Conversation

danielmitterdorfer
Copy link
Member

With this commit we avoid interacting in any way with the metrics store
if we could not retrieve any race metadata. This situation can happen
when we have never started a benchmark, the provided race id does not
match or we use an in-memory metrics store instead of Elasticsearch. In
all these cases we cleanly shutdown the node instead of raising errors.

Relates #860
Relates #830

With this commit we avoid interacting in any way with the metrics store
if we could not retrieve any race metadata. This situation can happen
when we have never started a benchmark, the provided race id does not
match or we use an in-memory metrics store instead of Elasticsearch. In
all these cases we cleanly shutdown the node instead of raising errors.
@danielmitterdorfer danielmitterdorfer added bug Something's wrong :Benchmark Candidate Management Anything affecting how Rally sets up Elasticsearch labels Jan 17, 2020
@danielmitterdorfer danielmitterdorfer added this to the 1.4.1 milestone Jan 17, 2020
@danielmitterdorfer danielmitterdorfer self-assigned this Jan 17, 2020
@ebadyano ebadyano self-requested a review January 21, 2020 15:30
Copy link
Contributor

@ebadyano ebadyano left a comment

Choose a reason for hiding this comment

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

LGTM!

@danielmitterdorfer
Copy link
Member Author

Thanks for your review!

@danielmitterdorfer danielmitterdorfer merged commit 0117188 into elastic:master Jan 22, 2020
@danielmitterdorfer danielmitterdorfer deleted the robust-shutdown branch January 22, 2020 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Benchmark Candidate Management Anything affecting how Rally sets up Elasticsearch bug Something's wrong
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants