Skip to content

Commit

Permalink
Clarify that plugin may return OK for ControllerUnpublish if node or …
Browse files Browse the repository at this point in the history
…volume not found
  • Loading branch information
davidz627 committed Aug 7, 2019
1 parent c3707a6 commit bc156b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc156b2

Please sign in to comment.