75c5916dde
While reading from the input in WriteStream, the inmemory driver can deadlock if the reader is from the same instance. To fix this, the write lock is released before reading into a local buffer. The lock is re-acquired to finish the actual write. Signed-off-by: Stephen J Day <stephen.day@docker.com> |
||
---|---|---|
.. | ||
driver_test.go | ||
driver.go | ||
mfs.go | ||
README.md |
Docker-Registry In-Memory Storage Driver
An implementation of the storagedriver.StorageDriver
interface which uses local memory for object storage.
IMPORTANT: This storage driver does not persist data across runs, and primarily exists for testing.
Parameters
None