containerd/content
Derek McGowan 0f756495a9
Fix writer deadlock in local store
The local store could end up in a state where the writer is
closed but the reference is locked after a commit on an
existing object.
Cleans up Commit logic to always close the writer even after
an error occurs, guaranteeing the reference is unlocked after commit.
Adds a test to the content test suite to verify this behavior.
Updates the content store interface definitions to clarify the behavior.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-10-15 16:33:45 -07:00
..
local Fix writer deadlock in local store 2018-10-15 16:33:45 -07:00
proxy Clean up error messages 2018-09-17 14:41:43 -07:00
testsuite Fix writer deadlock in local store 2018-10-15 16:33:45 -07:00
content.go Fix writer deadlock in local store 2018-10-15 16:33:45 -07:00
helpers_test.go Update tests to use gotest.tools angel 2018-06-08 21:02:01 +02:00
helpers.go Unify docker and oci importer 2018-09-17 14:41:43 -07:00