The unresolved execution detection should delete unresolved tasks once they have been due for the duration configured in deleteUnresolvedAfter. (Default: 14 days)
Current Behavior
The unresolved execution detection only deletes unresolved tasks after the local scheduler instance has detected the unresolved task for the configured duration. If the service never runs for that duration (due to updates or restarts), unresolved tasks are never deleted.
If this is the intended behaviour, it should be documented.
Workaround: I've reduced deleteUnresolvedAfter to 3 days, since the service regularly receives updates and never runs for 14 days straight.
Steps to Reproduce the bug
Create a recurring task
Delete the task implementation
Restart the scheduler
Restart the scheduler before the timeout configured in deleteUnresolvedAfter
The task won't be deleted until deleteUnresolvedAfter after the latest restart
Expected Behavior
The unresolved execution detection should delete unresolved tasks once they have been due for the duration configured in
deleteUnresolvedAfter
. (Default: 14 days)Current Behavior
The unresolved execution detection only deletes unresolved tasks after the local scheduler instance has detected the unresolved task for the configured duration. If the service never runs for that duration (due to updates or restarts), unresolved tasks are never deleted.
If this is the intended behaviour, it should be documented.
Workaround: I've reduced
deleteUnresolvedAfter
to 3 days, since the service regularly receives updates and never runs for 14 days straight.Steps to Reproduce the bug
deleteUnresolvedAfter
deleteUnresolvedAfter
after the latest restartContext