Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Improve log message when we cannot get anomaly result #58

Merged
merged 1 commit into from
Mar 10, 2020

Conversation

kaituo
Copy link
Member

@kaituo kaituo commented Mar 9, 2020

A connection request to a threshold model node can be rejected. Previously, we count exceptions due to connection problem as "unexpected". But we should not as this might happen when the cluster is unstable. This PR fixes the log message.

Testing:

  • unit and integration test pass

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

A connection request to a threshold model node can be rejected.  Previously, we count exceptions due to connection problem as "unexpected". But we should not as this might happen when the cluster is unstable.  This PR fixes the log message.

Testing:
- unit and integration test pass
@kaituo kaituo self-assigned this Mar 9, 2020
Copy link
Contributor

@ylwu-amzn ylwu-amzn left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the change!

@kaituo kaituo merged commit d14a2d4 into opendistro-for-elasticsearch:development Mar 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants