Skip to content

Commit ab6b04c

Browse files
author
Hendrik Muhs
authored
[6.6][ML] do not exit the worker after warning about failed cleanup (#357)
fix a race condition if a forecast job requires overflowing to disk but cleanup of temporary storage fails. This can cause the autodetect process to hang on exit, if more forecast requests are in the queue relates to #350
1 parent d6dfc47 commit ab6b04c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/CHANGELOG.asciidoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ Fix cause of "Sample out of bounds" error message (See {ml-pull}355[355].}
4444
4545
=== Regressions
4646
47+
== {es} version 6.5.5
48+
49+
=== Bug Fixes
50+
Fix a race condition if a forecast job requires overflowing to disk but cleanup of temporary
51+
storage fails. This can cause the autodetect process to hang on exit, if more forecast requests
52+
are in the queue. (See {ml-pull}352[352].)
53+
4754
== {es} version 6.5.3
4855
4956
=== Bug Fixes

lib/api/CForecastRunner.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ void CForecastRunner::forecastWorker() {
222222
LOG_WARN(<< "Failed to cleanup temporary data from: "
223223
<< forecastJob.s_TemporaryFolder << " error "
224224
<< errorCode.message());
225-
return;
226225
}
227226
}
228227
}

0 commit comments

Comments
 (0)