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
..
boilerplate update BUILD files 2017-10-15 18:18:13 -07:00
cmd/teststale update BUILD files 2017-10-15 18:18:13 -07:00
e2e-internal Remove all traces of federation 2017-10-26 13:37:37 -07:00
gen-swagger-doc correct the script name for generating swagger doc 2017-06-09 14:25:32 +08:00
jenkins Stop running unit tests outside of Bazel. 2017-11-07 16:48:56 -08:00
lib Merge pull request #55353 from david-mcmahon/eliminate-version-updates 2017-11-10 01:30:24 -08:00
make-rules add tests 2017-11-06 17:24:59 +08:00
testdata add apply --force --overwrite deployment lables e2e test enhance 2017-11-01 00:21:14 +08:00
verify-flags some small fix in verify-flags-underscore 2017-08-14 14:55:42 +08:00
.golint_failures Merge pull request #55641 from sjenning/remove-corrupt-checkpoints 2017-11-14 07:15:57 -08:00
autogenerated_placeholder.txt
benchmark-go.sh
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
build-cross.sh
build-go.sh
build-ui.sh move swagger route to apiserver 2017-02-01 15:18:32 -05:00
cherry_pick_pull.sh Make doc generation on cherry-picks optional 2017-06-26 16:54:11 -04:00
dev-build-and-push.sh
dev-build-and-up.sh
dev-push-hyperkube.sh
e2e_test.go Fix e2e_test.go 2017-07-05 14:24:25 -07:00
e2e-node-test.sh Fix typo in e2e-node-test.sh 2017-09-19 18:10:21 +05:30
e2e.go Add signal handler for catching Ctrl-C on hack/e2e 2017-08-23 16:05:46 -07:00
generate-bindata.sh Use cos-stable-59-9460-64-0 instead of cos-beta-59-9460-20-0. 2017-06-16 13:48:50 -07:00
generate-docs.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
get-build.sh
ginkgo-e2e.sh Fix influxdb e2e test failure. 2017-11-10 09:16:45 +01:00
godep-restore.sh Clean up godep scripts to be self-contained 2017-09-29 15:16:03 -07:00
godep-save.sh Vendor godep v79 and use it 2017-09-29 15:16:09 -07:00
grab-profiles.sh
import-restrictions.yaml pkg/apis/core: restrict imports 2017-11-09 12:14:08 +01:00
install-etcd.sh
list-feature-tests.sh Fix list-features script 2017-08-27 22:20:04 -04:00
local-up-cluster.sh let validation webhook convert objects to the external version before sending them 2017-11-13 12:55:33 -08:00
lookup_pull.py update url information to prevent http 304 redirection 2017-05-25 14:05:02 +08:00
OWNERS Add cblecker to hack/ approvers 2017-08-02 10:39:26 -07:00
print-workspace-status.sh Convert go_binary linkstamp to x_defs 2017-06-08 14:59:55 -07:00
run-in-gopath.sh
test-cmd.sh
test-go.sh
test-integration.sh Remove unnecessary wrapper flags 2017-06-07 12:31:01 -04:00
test-update-storage-objects.sh etcd: update version to 3.1.10 2017-10-02 12:27:46 -07:00
update_owners.py Remove myself from a bunch of places 2017-07-20 12:10:46 +02:00
update-all.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
update-api-reference-docs.sh
update-bazel.sh Merge pull request #54001 from cblecker/sed-func 2017-10-31 03:09:46 -07:00
update-codegen.sh Merge pull request #55403 from sttts/sttts-client-gen-ext-group-list 2017-11-09 09:42:51 -08:00
update-generated-device-plugin-dockerized.sh bump device plugin version to v1alpha2 to reflect the change to AllocateResponce API 2017-10-19 10:35:24 -07:00
update-generated-device-plugin.sh Added script to generate the Device Plugin API 2017-08-15 14:59:42 -07:00
update-generated-docs.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
update-generated-protobuf-dockerized.sh let validation webhook convert objects to the external version before sending them 2017-11-13 12:55:33 -08:00
update-generated-protobuf.sh
update-generated-runtime-dockerized.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
update-generated-runtime.sh
update-generated-swagger-docs.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
update-godep-licenses.sh Update godep-licenses script to work on darwin 2017-09-01 13:55:16 -07:00
update-gofmt.sh hack/*.sh: re-add staging dirs to verify+update scripts 2017-02-17 08:51:31 +01:00
update-openapi-spec.sh
update-staging-godeps-dockerized.sh Clean up godep scripts to be self-contained 2017-09-29 15:16:03 -07:00
update-staging-godeps.sh Dockerize update-staging-godeps 2017-07-25 12:26:57 -07:00
update-swagger-spec.sh hack/update-swagger-spec.sh: use posix regex syntax 2017-05-31 11:57:03 +02:00
update-translations.sh Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
verify-all.sh
verify-api-groups.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
verify-api-reference-docs.sh Ignore OWNERS files in hack/verify-api-reference-docs.sh 2017-10-18 11:15:08 -07:00
verify-bazel.sh Use -proto=legacy with gazelle, and manually fix staging/ import paths 2017-10-15 18:13:56 -07:00
verify-boilerplate.sh
verify-cli-conventions.sh More cli sanity verifications 2017-05-18 15:44:49 -03:00
verify-codegen.sh Add sample CustomResourceDefinition controller 2017-10-19 00:21:57 +01:00
verify-description.sh pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
verify-flags-underscore.py some small fix in verify-flags-underscore 2017-08-14 14:55:42 +08:00
verify-generated-device-plugin.sh bump device plugin version to v1alpha2 to reflect the change to AllocateResponce API 2017-10-19 10:35:24 -07:00
verify-generated-docs.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
verify-generated-files-remake.sh Add debugging to the codegen process 2017-08-25 14:08:42 -07:00
verify-generated-protobuf.sh Remove packages which aren't relied on by heapster anymore. 2017-08-12 23:50:22 +08:00
verify-generated-runtime.sh Update hack scripts 2017-06-09 10:13:34 +08:00
verify-generated-swagger-docs.sh Ignore .import-restrictions when checking against generated docs 2017-10-13 07:09:38 -04:00
verify-godep-licenses.sh
verify-godeps.sh Target godep script change verifications 2017-08-09 22:34:13 -04:00
verify-gofmt.sh Fixed the issue with formatting issues not being reported when verification fails. 2017-06-12 17:59:08 +02:00
verify-golint.sh Invert .linted_packages into .golint_failures. 2017-07-17 14:37:40 -07:00
verify-govet.sh Run hack/verify-govet.sh as part of verify make target 2017-06-21 11:10:25 -07:00
verify-import-boss.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
verify-imports.sh import-verifier: use yaml for inline comments 2017-10-25 16:53:26 +02:00
verify-linkcheck.sh
verify-no-vendor-cycles.sh Bugfix: verify-no-vendor-cycles.sh detects wrong cycles 2017-08-01 21:09:53 -07:00
verify-openapi-spec.sh Add OpenAPI README file 2017-06-05 13:18:07 -07:00
verify-pkg-names.sh verify-pkg-names.sh: exclude generated informers 2017-10-04 16:53:13 +02:00
verify-readonly-packages.sh hack/*.sh: re-add staging dirs to verify+update scripts 2017-02-17 08:51:31 +01:00
verify-staging-godeps.sh Don't clobber KUBE_VERBOSE in verify script 2017-11-10 12:42:15 -08:00
verify-swagger-spec.sh
verify-symbols.sh
verify-test-images.sh
verify-test-owners.sh