Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1000 No reimport after deleting finished instances
  3. OPT-1203

Cycle through definition list until no definition contains new data

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0-alpha1, 2.1.0
    • Component/s: backend
    • Labels:
      None

      Description

      Right now, we are using processDefinitionsToImport, alreadyImportedProcessDefinitions and currentIndex to handle the import cycle via process definitions in the DefinitionBasedImportHandler. However, this is makes the whole logic very complicated and also the import gets stuck in one process definition after one round. Instead, we can just use a ringbuffer logic to cycle through the porcess definitions.

      AT:

      • use ringbuffer datastructure to cycle through the definitions in the definition based import
      • the definition based import should cycle through the definition list until no process definition had new data and only then do backoff

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            johannes.heinemann Johannes Heinemann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: