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

[6.5] [ML] Fix a call stack size exception triggered by a negative tickInterval. (#24742) #24816

Merged
merged 1 commit into from
Oct 30, 2018

Conversation

walterra
Copy link
Contributor

Backports the following commits to 6.5:

…rval. (elastic#24742)

In certain cases tickInterval mistakenly could end up being negative which made getTickValues() run into a call stack size exception. This PR fixes it by a) adding a check to getTickValues() that interval must not be 0 or smaller and b) changing the way the tickInterval is determined in the Anomaly Explorer Charts.
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@walterra walterra merged commit b1927c0 into elastic:6.5 Oct 30, 2018
@walterra walterra deleted the backport/6.5/pr-24742 branch October 30, 2018 10:45
@walterra walterra self-assigned this Oct 30, 2018
@walterra walterra added the :ml label Oct 30, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants