Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-5754

Avoid unnecessary patching when resources are being deleted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2.7.0.GA
    • None
    • None
    • None
    • False
    • None
    • False

      We should try to avoid unnecessary patching of resources being deleted (but their deletion being for example blocked by finalizers for several minutes). One of the examples where this might cause a problem is when you delete a PVC -> it should not be deleted while being used by a pod. But because the operator patches the resource, it removes the finalizer and gets it deleted while still in use. In some environment, that seems to also wipe the PV and the data volume and fail the pod. In others, it seems the PV deletion will not happen until the pod rolls. But none of the cases is desired.

              morsak Maros Orsak
              scholzj JAkub Scholz
              Maros Orsak Maros Orsak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: