[ML] Datafeed start time is incorrect when the job has trailing empty buckets #69537
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Anomaly Detection
ML anomaly detection
:ml
v7.9.0
Describe the bug:
When the user starts a datafeed, we pop a menu to guide the user to pick start/end time. By default, we have the option
Continue from <timestamp>
where is meant to be the point the datafeed has reached to (in the scenario the datafeed had run previously). This timestamp may be incorrect (seems to show the latest record timestamp) when the job contains empty buckets past the latest record timestamp.Steps to reproduce:
Expected behavior:
The earliest start time for the datafeed should be the
max(latest_record_timestamp, latest_bucket.timestamp + bucket_span)
.Screenshots (if relevant):
The text was updated successfully, but these errors were encountered: