containerd/snapshots/windows
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
..
windows_test.go Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
windows.go Don't block snapshot garbage collection on Remove failures 2023-12-04 15:00:00 -08:00