Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-20065

Artifactory should have unique constraint by type and path before saving xray events

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.14.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Pam - Quality 5

      Description

      Currently, Artifactory saves every Xray event inside the tasks table including duplicated events.
      For example, a common scenario is that a customer willl do re-index inside Xray on a certain repository in order to attempt re-indexing of unindexed artifacts, however, this will send events on already indexed artifacts or, in case there are already events for the same artifacts in tasks table, it will insert them as well, resulting with duplicated events on the same artifacts that Artifactory will have to process.

      This improvement is to have a unique constraint by package type and component path, so in case there is already an event on the same component path and type is also the same, it should not insert duplicated events.

        Attachments

          Activity

            People

            • Assignee:
              rotemk Rotem Kfir
              Reporter:
              shaibz Shai Ben-Zvi
              Assigned QA:
              Andrey Tashlitsky
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: