Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-2085

Use the Janitor to regularly clean DeletedObject a while after the owner is destroyed.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • None
    • None
    • System
    • 3
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • 3scale 2019-07-29

    Description

      Do this TODO message for SaaS and on-prem.

      We are creating a DeletedObject for every Metric and Cinstance that is destroyed in System indicating its Service, and when the Service is destroyed, one of the actions it does is fetching all these metrics and cinstances of that Service (because we have the service_id) to destroy the Stats in Backend.

      The problem now is that we never destroy entries of DeletedObject right now even when we won't need them anymore after they are used and this will end up growing too much.

      The goal of this Jira issue is to regularly destroy (through the Janitor) all those DeletedObject whose owner (the service) has been destroyed a while ago, maybe 1 week after the Service has been destroyed seems safe enough.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mnoyabon Marta Noya (Inactive)
            Marta Noya Marta Noya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: