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

Batch total jobs number is off by one

    XMLWordPrintable

Details

    • Bug Report
    • Status: Closed
    • L3 - Default
    • Resolution: Fixed
    • None
    • 7.11.0, 7.11.0-alpha2
    • engine
    • None

    Description

      We calculate the total number of jobs as (int) Math.ceil(processInstanceCount / invocationsPerBatchJob); in a couple of places (e.g. https://github.com/camunda/camunda-bpm-platform/blob/7.10.0/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/ProcessInstanceModificationBatchCmd.java#L103). Math.ceil does nothing here. Should rather do +1 if mod is != 0.

      We don't seem to use this value internally for batch processing, so the impact is purely on reporting currently.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                yana.vasileva Yana Vasileva
                thorben.lindhauer Thorben Lindhauer
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce