Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-853

Use deletecollection to speed up pruning

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • Future
    • None
    • operator
    • None

      The operator currently performs pruning like this:

      • fetch the list of objects of some kind from the cache
      • iterate over the list and delete each object individually

      After we upgrade controller-runtime to 0.2.0+, we can use deletecollection to delete all objects of one kind in a single operation.

            mluksa@redhat.com Marko Luksa
            mluksa@redhat.com Marko Luksa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: