Files
kubernetes/hack
Kubernetes Submit Queue b983cee8b8 Merge pull request #55641 from sjenning/remove-corrupt-checkpoints
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

dockershim: remove corrupt checkpoints immediately upon detection

Fixes https://github.com/kubernetes/kubernetes/issues/55620

The current checkpoint abstraction leaks the handling of corrupt checkpoints to the user.

If the user does a `GetCheckpoint()` and the checkpoint is corrupt, the corrupt checkpoint is returned to the user (why??) with an error indicating the corruption.  It is then up to the user to detect the corruption via the error msg and call `RemoveCheckpoint()` to remove the corrupted checkpoint.

The checkpoint abstraction should not expose corruption to the user.  If it is corrupt, it is as good as not found to the user.  The checkpoint code should handle cleanup of corrupt entries and report "not found" to the user.

@derekwaynecarr @eparis @dcbw @freehan
2017-11-14 07:15:57 -08:00
..
2017-10-15 18:18:13 -07:00
2017-10-15 18:18:13 -07:00
2017-11-06 17:24:59 +08:00
2017-10-15 18:18:13 -07:00
2017-02-01 15:18:32 -05:00
2017-07-05 14:24:25 -07:00
2017-09-19 18:10:21 +05:30
2017-11-10 09:16:45 +01:00
2017-09-29 15:16:09 -07:00
2017-08-27 22:20:04 -04:00
2017-08-02 10:39:26 -07:00
2017-10-26 13:37:37 -07:00
2017-06-05 13:18:07 -07:00