This MR adds functionality that checks whether a volume is already in the process of being backed up. This will prevent the Snapshotter from attempting to "double backup"
In accordance with the CSI spec, attempting to create a snapshot while a volume is in a backup state will return with code "Aborted".
Unit tests with several variations have been provided as well.
This MR adds functionality that checks whether a volume is already in the process of being backed up. This will prevent the Snapshotter from attempting to "double backup"
In accordance with the CSI spec, attempting to create a snapshot while a volume is in a backup state will return with code "Aborted".
Unit tests with several variations have been provided as well.