60874ebe25
The unpublish workflow requires that we know the mode (RW vs RO) if we want to unpublish the node. Update the hook and the Unpublish RPC so that we mark the claim for release in a new state but leave the mode alone. This fixes a bug where RO claims were failing node unpublish. The core job GC doesn't know the mode, but we don't need it for that workflow, so add a mode specifically for GC; the volumewatcher uses this as a sentinel to check whether claims (with their specific RW vs RO modes) need to be claimed. |
||
---|---|---|
.. | ||
interfaces.go | ||
interfaces_test.go | ||
volume_watcher.go | ||
volume_watcher_test.go | ||
volumes_watcher.go | ||
volumes_watcher_test.go |