-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
16512 FIX Restart scheduler after setting "use the status of a service"
The following scenario would break scheduling * make host passive with `@service` -> internally sets next check to 0 * make host active again, for example, `@up` -> calls `scheduleHostJob()` with `host->nextCheck()`, which is 0 -> the invalid timestamp is rejected -> scheduling fails and has to be retriggered by the user SUP-14635 Change-Id: If48579cbd371349263d19b8adcf417b112509f50
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[//]: # (werk v2) | ||
# Restart scheduler after setting "use the status of a service" | ||
|
||
key | value | ||
---------- | --- | ||
date | 2024-06-13T14:21:01+00:00 | ||
version | 2.4.0b1 | ||
class | fix | ||
edition | cee | ||
component | core | ||
level | 1 | ||
compatible | yes | ||
|
||
This fixes the case where the default check scheduler would not restart after | ||
the user temporarily set "use the status of service" as the "host check | ||
command". The corresponding log entry was "refuse to schedule invalid jobhost | ||
... at 1970-0101 ...". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters