-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 9.10
-
Component/s: Events / Works, Streams
-
Release Notes Description:
-
Epic Link:
-
Backlog priority:800
-
Sprint:nxcore 10.2.7, nxcore 10.2.8
-
Story Points:5
Assuming that long-running works check regularly the isSuspending() state.
A solution to cancel such a running work is to update its state in the KeyValue store (NXP-24397) from Running to Cancel.
The isSuspending method in addition to checking the suspending flag will also check if the work state is Cancel in this case the work must suspend asap.
This must be backported in 9.10.