Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-5930

I can suspend/activate a batch and all of its jobs

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5.0, 7.5.0-alpha5
    • Component/s: engine
    • Labels:

      Description

      AT

      • I can suspend/activate a batch using the Java API
      • I can suspend/activate a batch using the REST API

      Original Problem description

      If a batch is running with a loot of jobs. So the seed jobs is still generating new execution jobs and the job executor acquires existing execution jobs. The delete batch command will try to delete all of this in one transaction and will very likely fail with an optimistic locking exceptions. Which means the batch cannot be deleted before completion.

      Workaround

      Suspend seed job definition and let the job executor process the remaining execution jobs.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matthijs.burke Matthijs Burke
              Reporter:
              sebastian.menski Sebastian Menski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: