Skip to content

Commit 86e779e

Browse files
committed
Define DeleteVolume behavior with snapshots
Spec is not clear on what should happen when on a DeleteVolume call when the volume has snapshots. This patch clarifies the situation by explicitly mentioning that the operation should complete and the snapshots should still be operational. Closes: container-storage-interface#346
1 parent 37e7406 commit 86e779e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,8 @@ This RPC will be called by the CO to deprovision a volume.
11311131
This operation MUST be idempotent.
11321132
If a volume corresponding to the specified `volume_id` does not exist or the artifacts associated with the volume do not exist anymore, the Plugin MUST reply `0 OK`.
11331133

1134+
CSI plugins MUST treat volumes independent from their snapshots. Controller Plugin MUST support deleting a volume without affecting its existing snapshots, which MUST still be fully operational and acceptable as sources for new volumes as well as appear on `ListSnapshot` calls.
1135+
11341136
```protobuf
11351137
message DeleteVolumeRequest {
11361138
// The ID of the volume to be deprovisioned.

0 commit comments

Comments
 (0)