diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-02-25 13:17:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-25 13:17:12 +0100 |
commit | 6babc9f20ca9e3633da1792a31d0391bde6201b6 (patch) | |
tree | 9627ab8a289952c5902ef45a09fab6cfbd143954 /libpod/define | |
parent | 8a30759b6b7f73c76c90e0931e6cf1ca3d94ee61 (diff) | |
parent | 4004f646cd7a99f86b2098587c256071a89a4dc7 (diff) | |
download | podman-6babc9f20ca9e3633da1792a31d0391bde6201b6.tar.gz podman-6babc9f20ca9e3633da1792a31d0391bde6201b6.tar.bz2 podman-6babc9f20ca9e3633da1792a31d0391bde6201b6.zip |
Merge pull request #5305 from mheon/check_for_common_deadlocks
Add basic deadlock detection for container start/remove
Diffstat (limited to 'libpod/define')
-rw-r--r-- | libpod/define/errors.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/define/errors.go b/libpod/define/errors.go index 523062866..b79cf08dc 100644 --- a/libpod/define/errors.go +++ b/libpod/define/errors.go @@ -61,6 +61,11 @@ var ( // the user. ErrDetach = utils.ErrDetach + // ErrWillDeadlock indicates that the requested operation will cause a + // deadlock. This is usually caused by upgrade issues, and is resolved + // by renumbering the locks. + ErrWillDeadlock = errors.New("deadlock due to lock mismatch") + // ErrNoCgroups indicates that the container does not have its own // CGroup. ErrNoCgroups = errors.New("this container does not have a cgroup") |