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

Delete Process Instance Batch jobs are executed on any node in a heterogeneous cluster

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.6.1
    • Fix Version/s: 7.7.0, 7.6.5
    • Component/s: engine
    • Labels:

      Description

      Problem:

      • any node in a heterogeneous cluster try to execute a delete process instance batch job even if the node is not registered for the deployment
      • as result, the batch job may fail because of missing classes

      AT:

      • in a heterogeneous cluster, the delete process instance batch job is only executed on a node that is registered for the related deployment

      Hints:

      • set the deployment id of the batch job - see org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler#createJobs
      • the behavior is already implemented for process definition migration jobs
      • check the behavior of the other batch jobs

        Activity

        Hide
        thorben.lindhauer Thorben Lindhauer added a comment -

        What is the expected behavior when the historic process instance query returns instances from different deployments and the batch configuration is set so that one job executes two or more deletions?

        Show
        thorben.lindhauer Thorben Lindhauer added a comment - What is the expected behavior when the historic process instance query returns instances from different deployments and the batch configuration is set so that one job executes two or more deletions?
        Hide
        philipp.ossler Philipp Ossler added a comment -

        I would expect that it split the jobs by deployment id.

        Show
        philipp.ossler Philipp Ossler added a comment - I would expect that it split the jobs by deployment id.

          People

          • Assignee:
            Unassigned
            Reporter:
            philipp.ossler Philipp Ossler
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: