open-nomad/nomad/volumewatcher
Tim Gross 314458ebdb
csi: update volumewatcher to use unpublish RPC (#8579)
This changeset updates `nomad/volumewatcher` to take advantage of the
`CSIVolume.Unpublish` RPC. This lets us eliminate a bunch of code and
associated tests. The raft batching code can be safely dropped, as the
characteristic times of the CSI RPCs are on the order of seconds or even
minutes, so batching up raft RPCs added complexity without any real world
performance wins.

Includes refactor w/ test cleanup and dead code elimination in volumewatcher
2020-08-06 14:31:18 -04:00
..
interfaces.go csi: update volumewatcher to use unpublish RPC (#8579) 2020-08-06 14:31:18 -04:00
interfaces_test.go csi: update volumewatcher to use unpublish RPC (#8579) 2020-08-06 14:31:18 -04:00
volume_watcher.go csi: update volumewatcher to use unpublish RPC (#8579) 2020-08-06 14:31:18 -04:00
volume_watcher_test.go csi: update volumewatcher to use unpublish RPC (#8579) 2020-08-06 14:31:18 -04:00
volumes_watcher.go csi: update volumewatcher to use unpublish RPC (#8579) 2020-08-06 14:31:18 -04:00
volumes_watcher_test.go csi: update volumewatcher to use unpublish RPC (#8579) 2020-08-06 14:31:18 -04:00