Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-1520

Invalid cache results when offerings are saved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2023-07-24 - API
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      During a subscription sync, the following events can occur:

      • A check for a SKU is performed.  The SKU is not found
      • A value of "false" for that SKU is written to the cache that stores the existence of SKUs
      • We save an offering with that SKU
      • Another subscription with the same SKU comes along and we make another call to OfferingRepository.existsById
      • The cache returns false instead of true because we did not update the offering existence cache after saving the offering

            awood1@redhat.com Alex Wood
            awood1@redhat.com Alex Wood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: