Skip to content

[ML] Fix bug upgrading state from 5.6 direct to 6.3 causing SIGSEGV on open job#143

Merged
tveasey merged 3 commits intoelastic:masterfrom
tveasey:bug/upgrade-seasonal-adaptive-bucketing
Jul 4, 2018
Merged

[ML] Fix bug upgrading state from 5.6 direct to 6.3 causing SIGSEGV on open job#143
tveasey merged 3 commits intoelastic:masterfrom
tveasey:bug/upgrade-seasonal-adaptive-bucketing

Conversation

@tveasey
Copy link
Copy Markdown
Contributor

@tveasey tveasey commented Jul 4, 2018

This also corrects upgrading the trend component model. The current behaviour could result in large prediction errors immediately after upgrading.

Closes #141.

Copy link
Copy Markdown

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

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

LGTM

I just left one suggestion about where an extra comment might help future readers.

core::CPersistUtils::fromString(traverser.value(), lastUpdates))
} while (traverser.next());

if (lastUpdates.empty()) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Could add a comment to say this is needed because lastUpdates wasn't present in 5.6.

Copy link
Copy Markdown

@hendrikmuhs hendrikmuhs left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants