Skip to content

Commit 8fe8e17

Browse files
author
Hendrik Muhs
authored
[6.7][ML] do not exit the worker after warning about failed cleanup (#353)
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 5a85ae6 commit 8fe8e17

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
@@ -60,6 +60,14 @@ Fix cause of "Sample out of bounds" error message (See {ml-pull}355[355].}
6060
6161
=== Regressions
6262
63+
== {es} version 6.5.5
64+
65+
=== Bug Fixes
66+
67+
Fix a race condition if a forecast job requires overflowing to disk but cleanup of temporary
68+
storage fails. This can cause the autodetect process to hang on exit, if more forecast requests
69+
are in the queue. (See {ml-pull}352[352].)
70+
6371
== {es} version 6.5.3
6472
6573
=== 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)