-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 9.10
-
Component/s: Events / Works, Streams
-
Release Notes Summary:A delay has been added to let the WorkManager suspend works before shutdown.
-
Epic Link:
-
Backlog priority:800
-
Sprint:nxcore 10.2.7
-
Story Points:5
On shutdown, the work manager should wait a fixed amount of time between setting the suspending flag and shutting down the pool.
We could do smarter things like adding a state between suspending and suspended and wait for work that suspending in progress but at the end, there will be a timeout, so wait for a fixed amount of time like 20s might be good enough.
This delay should be configurable and set by default to 0s, only instance that handle long running work should increase this delay.
This should also be done for the StreamWorkManager and backported in 9.10
- is related to
-
NXP-24400 StreamWorkManager should be able to cancel a long running work
- Resolved