Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-7560

Prevent concurrent execution for image_sync collector

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • AIPCC Productization
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Productization Sprint 20

      Syncing artifacts can be time-consuming, and if collector executions overlap
      for the same product, race conditions and resource spikes may occur. The goal
      of this task is to ensure that /sync/images/<product_key> cannot run
      concurrently.

      The existing SBOM sync logic already implemented a lock, so this commit
      refactors that mechanism into a reusable decorator and applies it to image
      sync. This enables product-scoped locking and ensures safe, non-overlapping
      collector execution without blocking other products running in parallel.

              rhit_jmorenas Jose Angel Morena
              rhit_jmorenas Jose Angel Morena
              Klara's Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: