![]() If a snapshot removal fails (during garbage collection), the entire garbage collection operation is cancelled. This is problematic because once cleanup of any snapshot fails no other snapshots will be cleaned and the disk usage will just keep increasing. Solution is to return snapshot removal errors wrapped as "ErrFailedPrecondition" errors. The garbage collectors continues cleanup if the error is of this type. Signed-off-by: Amit Barve <ambarve@microsoft.com> |
||
---|---|---|
.. | ||
benchsuite | ||
blockfile | ||
btrfs | ||
devmapper | ||
lcow | ||
native | ||
overlay | ||
proxy | ||
storage | ||
testsuite | ||
windows | ||
snapshotter.go |