You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Context
DB-Scheduler Version : 14.0.2
Java Version : 21
Spring Boot (check for Yes) : [x]
Database and Version : MariaDB 10.11
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: