k3s/pkg
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
..
api Merge pull request #52461 from stewart-yu/issue#05 2017-11-11 15:21:29 -08:00
apimachinery/tests update BUILD files 2017-10-15 18:18:13 -07:00
apis Merge pull request #55532 from ianchakeres/validate-greater-than-zero-pv-pvc 2017-11-14 00:09:48 -08:00
auth move authorizers over to new interface 2017-11-03 13:46:28 -07:00
bootstrap/api update BUILD files 2017-10-15 18:18:13 -07:00
capabilities update BUILD files 2017-10-15 18:18:13 -07:00
client Merge pull request #55413 from liggitt/internal-autoscaling 2017-11-10 07:00:44 -08:00
cloudprovider Merge pull request #47849 from tomerf/azure_dns_label 2017-11-13 06:09:21 -08:00
controller add clusterrole aggregation controller 2017-11-13 08:18:00 -05:00
credentialprovider update BUILD files 2017-10-15 18:18:13 -07:00
features Add alpha feature for mount containers 2017-11-10 13:14:40 +01:00
fieldpath update BUILD files 2017-10-15 18:18:13 -07:00
generated let validation webhook convert objects to the external version before sending them 2017-11-13 12:55:33 -08:00
hyperkube update BUILD files 2017-10-15 18:18:13 -07:00
kubeapiserver Merge pull request #54849 from hzxuzhonghu/audit-graceful-shutdown 2017-11-10 03:30:21 -08:00
kubectl Merge pull request #54877 from juanvallejo/jvallejo/move-PrintResourceInfoRorCommand-cmdutil-factory 2017-11-14 03:03:23 -08:00
kubelet Merge pull request #55641 from sjenning/remove-corrupt-checkpoints 2017-11-14 07:15:57 -08:00
kubemark Merge pull request #54405 from resouer/clean-docker-dep 2017-11-13 03:59:53 -08:00
master Enforce use of fixed size int types in the API 2017-11-13 11:28:59 -08:00
printers Update generated files 2017-11-09 12:14:08 +01:00
probe update BUILD files 2017-10-15 18:18:13 -07:00
proxy Merge pull request #52569 from tmjd/add-proxy-forward-rules 2017-11-14 00:09:57 -08:00
quota Update generated files 2017-11-09 12:14:08 +01:00
registry handle clusterrole migration 2017-11-13 08:18:00 -05:00
routes update BUILD files 2017-10-15 18:18:13 -07:00
security Enforce use of fixed size int types in the API 2017-11-13 11:28:59 -08:00
securitycontext Update generated files 2017-11-09 12:14:08 +01:00
serviceaccount Update generated files 2017-11-09 12:14:08 +01:00
ssh update BUILD files 2017-10-15 18:18:13 -07:00
util Merge pull request #52569 from tmjd/add-proxy-forward-rules 2017-11-14 00:09:57 -08:00
version Capture git export-subst strings in version.sh for 'git archive' use. 2017-11-09 16:36:27 -08:00
volume Update generated files 2017-11-09 12:14:08 +01:00
watch update BUILD files 2017-10-15 18:18:13 -07:00
.import-restrictions Add import-boss directives 2017-10-13 07:06:22 -04:00
BUILD Update generated files for MutatingWebhookConfiguration 2017-11-09 15:33:50 -08:00
OWNERS