containerd/snapshots
Amit Barve ad96fded4c Don't block snapshot garbage collection on Remove failures
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>
2023-12-04 15:00:00 -08:00
..
benchsuite Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
blockfile Switch to github.com/containerd/plugin 2023-11-01 23:01:42 -07:00
btrfs switch back from golang.org/x/sys/execabs to os/exec (go1.19) 2023-11-02 21:15:40 +01:00
devmapper switch back from golang.org/x/sys/execabs to os/exec (go1.19) 2023-11-02 21:15:40 +01:00
lcow Switch to github.com/containerd/plugin 2023-11-01 23:01:42 -07:00
native Switch to github.com/containerd/plugin 2023-11-01 23:01:42 -07:00
overlay switch back from golang.org/x/sys/execabs to os/exec (go1.19) 2023-11-02 21:15:40 +01:00
proxy Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
storage Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
testsuite Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
windows Don't block snapshot garbage collection on Remove failures 2023-12-04 15:00:00 -08:00
snapshotter.go Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00