moby/layer
Derek McGowan c37bd10f8c Update layer store to sync transaction files before committing
Fixes case where shutdown occurs before content is synced to disked
on layer creation. This case can leave the layer store in an bad
state and require manual recovery. This change ensures all files
are synced to disk before a layer is committed. Any shutdown that
occurs will only cause the layer to not show up but will allow it to
be repulled or recreated without error.

Added generic io logic to ioutils package to abstract it out of
the layer store package.


Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2016-08-09 11:55:17 -07:00
..
empty.go Make TarStream return an io.ReadCloser 2015-11-25 16:39:54 -08:00
empty_test.go Add layer store 2015-11-24 09:40:23 -08:00
filestore.go Update layer store to sync transaction files before committing 2016-08-09 11:55:17 -07:00
filestore_test.go *: remove unused stuff 2016-03-14 18:41:30 +01:00
layer.go fix some typos 2016-06-21 15:29:25 +08:00
layer_store.go Use describable interfaces 2016-06-06 17:49:34 -07:00
layer_store_windows.go Use describable interfaces 2016-06-06 17:49:34 -07:00
layer_test.go Remove mountedLayer Mount and Unmount 2016-05-23 16:52:58 -07:00
layer_unix.go Use describable interfaces 2016-06-06 17:49:34 -07:00
layer_unix_test.go Verify layer tarstream 2016-02-17 14:26:16 -05:00
layer_windows.go Use describable interfaces 2016-06-06 17:49:34 -07:00
migration.go Merge pull request #20458 from aaronlehmann/migration-close-gzip-writer 2016-02-18 16:48:50 -08:00
migration_test.go Remove ref counting from layer store 2016-05-23 15:57:23 -07:00
mount_test.go CLI flag for docker create(run) to change block device size. 2016-03-28 10:05:18 -04:00
mounted_layer.go Remove mountedLayer Mount and Unmount 2016-05-23 16:52:58 -07:00
ro_layer.go Use describable interfaces 2016-06-06 17:49:34 -07:00
ro_layer_windows.go Use describable interfaces 2016-06-06 17:49:34 -07:00