first bulk API batch is one element short of 1000 limit

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.6.0-rc2
    • Affects Version/s: 2.6.0-rc0
    • Component/s: Shell
    • Fully Compatible
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When splitting batches the first batch ends up being 999 elements instead of a 1000. Hence a 3000 batch would be split into
      999, 1000, 1000, 1.

      The reason is that in the addToOperationsList functionthe batch size is incremented and checked before actually adding the last element to the batch.

            Assignee:
            Andreas Nilsson (Inactive)
            Reporter:
            Andreas Nilsson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: