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

Job Acquisition rollback due to Optimistic Locking Exception

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0, 7.1.6, 7.2.0-alpha6
    • Component/s: engine
    • Labels:

      Description

      Problem description:

      Job Acquistion uses Optimistic Locking to make sure the same job is not acquired by two different Job Acquisition Threads.
      If two transactions attempt to acquire the same job, one of the transactions rolls back with an optimistic locking exception.
      The result is none of the jobs selected can be acquired.

      ==> Expected behavior: do not roll back the transaction but ignore jobs which could not be locked.

      This way, the acquisition would still acquire those jobs which could be locked.

        Attachments

          Activity

            People

            Assignee:
            thorben.lindhauer Thorben Lindhauer
            Reporter:
            meyer Daniel Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: