Skip to content

[6.x] [ML] Fix a call stack size exception triggered by a negative tickInterval. (#24742)#24815

Merged
walterra merged 1 commit intoelastic:6.xfrom
walterra:backport/6.x/pr-24742
Oct 30, 2018
Merged

[6.x] [ML] Fix a call stack size exception triggered by a negative tickInterval. (#24742)#24815
walterra merged 1 commit intoelastic:6.xfrom
walterra:backport/6.x/pr-24742

Conversation

@walterra
Copy link
Copy Markdown
Contributor

Backports the following commits to 6.x:

…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.
@walterra walterra added the backport This PR is a backport of another PR label Oct 30, 2018
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@walterra walterra added the :ml label Oct 30, 2018
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui

@walterra walterra merged commit a302580 into elastic:6.x Oct 30, 2018
@walterra walterra deleted the backport/6.x/pr-24742 branch October 30, 2018 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR :ml

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants