Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3053 Event Based Import #2 Iteration
  3. OPT-3456

Do not reimport identical entitiesLastTimestamp batches

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: L3 - Default L3 - Default
    • 3.0.0
    • 3.0.0
    • backend
    • None

      Context:
      Currently the `TimestampBasedImportMediator` will reimport the entitiesLastTimestamp batch over and over again if no new data is available. This causes e.g. the same activity & variable update events to be reimported continously. While this is no issue to the process_instance index as they just get merged with the existing data they get appended to the log-like indexes `optimize-variable-update-instance-` & `optimize-variable-update-instance` though. We initially accepted that as in real world scenarios new data should arrive eventually and the import pointer continue, however it makes testing harder and would continuously bloat the index if there there is no new data for a longer period, while there is an easy option to skip if the number of entities for the last timestamp is not bigger than in the previous round.

      AT:

      • the `TimestampBasedImportMediator` skips the entities of `entitiesLastTimestamp` if their count equals the number of entities for that timestamp of the previous execution

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: