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

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.7.0, 7.6.5
    • 7.6.1
    • engine

      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

        This is the controller panel for Smart Panels app

            [CAM-7519] Delete Process Instance Batch jobs are executed on any node in a heterogeneous cluster

            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?

            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?

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

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

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

                Created:
                Updated:
                Resolved: