Skip to content

[9.4] [ML] Clear the change point test window on force_time_shift (#3221) - #3222

Merged
elastic-vault-github-plugin-prod[bot] merged 1 commit into
9.4from
backport/9.4/pr-3221
Sep 25, 2026
Merged

elastic-vault-github-plugin-prod[bot] merged 1 commit into
9.4from
backport/9.4/pr-3221

Conversation

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.4:

Questions ?

Please refer to the Backport tool documentation

## Summary

#3209 stopped clearing the change-point test window inside `reset()` so a level change that also triggers seasonality detection keeps the pre-change samples. `force_time_shift` still goes through `resetChangePointTest`, which only called `reset()`, so samples recorded on the old clock stayed in the window.

`resetChangePointTest` now calls `resetAfterTimeShift`, which clears the window and then resets the error moments. `reset()` and the seasonal handler are unchanged.

(cherry picked from commit e3ae484)

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Automated approval: clean backport of an already-reviewed change. Auto-merge is armed and will merge once the required CI checks are green.

@elastic-vault-github-plugin-prod
elastic-vault-github-plugin-prod Bot merged commit db73309 into 9.4 Sep 25, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically merge backport PRs when CI passes backport :ml >non-issue v9.4.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants