Files
containerd/snapshots
Eric Ren a3685262fe snapshots/devmapper: do not stop snapshot GC when one snapshot removing fails
Snapshots GC takes use of pruneBranch() function to remove snapshots,
but GC will stop if snapshotter.Remove() returns error and the error
number is not ErrFailedPrecondition. This results in thousands of
dm snapshots not deleted if one snapshot is not deleted, due to
errors like "contains a filesystem in use".

So return ErrFailedPrecondition error number in Remove() function where
appropriate, and let GC process go on collecting other snapshots.

Fix: #3923
Signed-off-by: Eryu Guan <eguan@linux.alibaba.com>
Signed-off-by: Eric Ren <renzhen.rz@linux.alibaba.com>
2020-02-29 13:32:48 +08:00
..
2019-04-30 20:38:24 +02:00
2019-10-24 11:11:22 -07:00
2019-10-24 11:11:22 -07:00
2020-01-07 13:52:13 +09:00
2020-01-07 14:59:20 -08:00
2020-01-07 13:52:13 +09:00
2020-01-07 14:59:20 -08:00