Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-24400

StreamWorkManager should be able to cancel a long running work

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days
                  3d

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.