Skip to content

Commit 727c5bb

Browse files
author
Hendrik Muhs
authored
[6.5][ML] do not exit the worker after warning about failed cleanup (#356)
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 9e5d196 commit 727c5bb

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docs/CHANGELOG.asciidoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@
2828
2929
//=== Regressions
3030
31+
== {es} version 6.5.5
32+
33+
=== Bug Fixes
34+
35+
Fix a race condition if a forecast job requires overflowing to disk but cleanup of temporary
36+
storage fails. This can cause the autodetect process to hang on exit, if more forecast requests
37+
are in the queue. (See {ml-pull}352[352].)
38+
3139
== {es} version 6.5.4
3240
3341
=== 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)