From ffaba0f81dcefc3457fd073c04c5cc694ca05144 Mon Sep 17 00:00:00 2001 From: Sameer Shaikh Date: Wed, 28 Jun 2023 18:32:07 +0530 Subject: [PATCH] external-snapshotter constantly retrying CreateSnapshot calls on error w/o backoff --- pkg/sidecar-controller/snapshot_controller_base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sidecar-controller/snapshot_controller_base.go b/pkg/sidecar-controller/snapshot_controller_base.go index ebdf9366..b9e6f8da 100644 --- a/pkg/sidecar-controller/snapshot_controller_base.go +++ b/pkg/sidecar-controller/snapshot_controller_base.go @@ -123,7 +123,7 @@ func NewCSISnapshotSideCarController( // So we are skipping the re-queue here to avoid CreateSnapshot being called without exponential backoff. newSnapContent := newObj.(*crdv1.VolumeSnapshotContent) if newSnapContent.Status != nil && newSnapContent.Status.Error != nil { - return + return } ctrl.enqueueContentWork(newObj) },