Closed
Description
Affected versions: 6.1 -
Problem
When a ml job is force closed the native process gets terminated without waiting for unfinished forecasts. These forecasts end as started
or in progress but will never finish. This is only a reporting problem, there are no hanging processes or tasks.
Mitigation
Manually delete forecast documents from the result index (replace job_id and forecast_id accordingly):
POST .ml-anomalies-.write-{job_id}/_delete_by_query
{
"query": {
"term": {
"forecast_id": {
"value": "{forecast_id}"
}
}
}
}
Fix discussion
A force close should cleanup queued forecasts or mark them as failed.