ceph-csi/internal
Niels de Vos d2c4cacb39 rbd: restart thick-provisioned PVC snapshot restoring after aborting
In case restoring a snapshot of a thick-PVC failed during DeepCopy(),
the image will exist, but have partial contents. Only when the image has
the thick-provisioned metadata set, it has completed DeepCopy().

When the metadata is missing, the image is deleted, and an error is
returned to the caller. Kubernetes will automatically retry provisioning
on the ABORTED error, and the restoring will get restarted from the
beginning.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-06-23 14:22:28 +00:00
..
cephfs cephfs: return internal server error 2021-06-07 07:38:48 +00:00
controller cleanup: Modifies Wrapcheck linter 2021-06-22 08:47:55 +00:00
csi-common util: return actual error from IsMountPoint 2021-06-07 07:38:48 +00:00
journal cleanup: Modifies Wrapcheck linter 2021-06-22 08:47:55 +00:00
liveness util: replace klog with util logger in liveness.go 2020-08-19 14:38:12 +00:00
rbd rbd: restart thick-provisioned PVC snapshot restoring after aborting 2021-06-23 14:22:28 +00:00
util cleanup: gocyclo being unused for linter 2021-06-15 02:54:16 +00:00