support publishing multiple times and staging exactly once
pohly opened this issue · 1 comments
pohly commented
The driver has traditionally supported publishing multiple times in parallel. That was overlooked when adding a single boolean for IsPublished
:
csi-driver-host-path/pkg/state/state.go
Line 53 in 7a25259
That must be a list of target paths.
pohly commented
IsStaged
also should better be converted to a string which holds the staging target path. Then in NodeStageVolume
we can detect if the function gets called again with a different path, which is an error (?!).