moby/distribution
Michal Minář 81f7b1f1e5
Different number of retries for layers of different sizes
Classify blobs into three categories based on size.
Use a very limited number of mount attempts and no existence check for
small blobs. Use more attempts for bigger blobs.

Also remember blob associations during layer existence check.

Blob digests are now checked in the target repository from newest to
latest. If the blob exists and the metadata entry does not, it will be
created. If the blob is not found, the metadata entry will be removed.

Signed-off-by: Michal Minář <miminar@redhat.com>
2016-09-29 14:16:01 +02:00
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata Allow to mock V2MetadataService in unit tests 2016-09-29 14:16:00 +02:00
xfer Use describable interfaces 2016-06-06 17:49:34 -07:00
errors.go swarm/controller: allow cancellation to propagate 2016-07-25 18:31:24 -07:00
pull.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
pull_v1.go Fix logrus formatting 2016-06-11 13:16:55 -07:00
pull_v2.go Allow to mock V2MetadataService in unit tests 2016-09-29 14:16:00 +02:00
pull_v2_test.go Windows CI Unit Test: Distribution turn off failing tests 2016-02-28 20:02:51 -08:00
pull_v2_unix.go Removing old custom RootFS behavior on Windows. 2016-07-29 14:15:59 -07:00
pull_v2_windows.go Removing old custom RootFS behavior on Windows. 2016-07-29 14:15:59 -07:00
push.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
push_v1.go Pass upstream client's user agent through to registry on operations beyond pulls 2016-03-21 14:31:47 -07:00
push_v2.go Different number of retries for layers of different sizes 2016-09-29 14:16:01 +02:00
push_v2_test.go Different number of retries for layers of different sizes 2016-09-29 14:16:01 +02:00
registry.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
registry_unit_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00