From bc156b2c7caebcf06199f49846daff6218131674 Mon Sep 17 00:00:00 2001 From: David Zhu Date: Wed, 7 Aug 2019 14:38:50 -0700 Subject: [PATCH] Clarify that plugin may return OK for ControllerUnpublish if node or volume not found --- spec.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec.md b/spec.md index bd46f08c..0f2fe43e 100644 --- a/spec.md +++ b/spec.md @@ -1257,6 +1257,9 @@ This RPC is typically called by the CO when the workload using the volume is bei This operation MUST be idempotent. If the volume corresponding to the `volume_id` is not attached to the node corresponding to the `node_id`, the Plugin MUST reply `0 OK`. +If the volume corresponding to `volume_id` or the node corresponding to +`node_id` cannot be found by the Plugin and can be safely regarded as +ControllerUnpublished, the plugin MAY return `0 OK`. If this operation failed, or the CO does not know if the operation failed or not, it can choose to call `ControllerUnpublishVolume` again. ```protobuf