containerd/content/local
Stephen J Day d0e396aa60
metadata: defer ingest lock to backend
Because the lock on an ingest ref being held regardless of whether a
writer was in use, resuming an existing ingest proved impossible. We now
defer writer locking to the content store backend, where the lock will
be released automatically on closing the writer or on restarting
containerd.

There are still cases where a writer can be abandoned but not closed,
leaving an active ingest, but this is extremely rare and can be resolved
with a daemon restart.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-07-24 12:20:34 -07:00
..
locks.go Rename content/fs to content/local 2017-07-24 10:11:35 -07:00
readerat.go Rename content/fs to content/local 2017-07-24 10:11:35 -07:00
store_linux.go Rename content/fs to content/local 2017-07-24 10:11:35 -07:00
store_test.go Rename content/fs to content/local 2017-07-24 10:11:35 -07:00
store_unix.go Rename content/fs to content/local 2017-07-24 10:11:35 -07:00
store_windows.go Rename content/fs to content/local 2017-07-24 10:11:35 -07:00
store.go metadata: defer ingest lock to backend 2017-07-24 12:20:34 -07:00
writer.go Rename content/fs to content/local 2017-07-24 10:11:35 -07:00