Skip to content

Update release checklist with further details - #2155

Merged
dmcgowan merged 1 commit into
distribution:masterfrom
dmcgowan:update-release-checklist
Mar 3, 2017
Merged

dmcgowan merged 1 commit into
distribution:masterfrom
dmcgowan:update-release-checklist

Conversation

@dmcgowan

Copy link
Copy Markdown
Collaborator

Add details for release checklist for where to put the update the changelist and which branch to cherry-pick from. Also add more details around creating the tag and verifying the tag is correct.

Add details for release checklist for where to put the update
the changelist and which branch to cherry-pick from. Also add
more details around creating the tag and verifying the tag is
correct.

Signed-off-by: Derek McGowan <[email protected]> (github: dmcgowan)
@codecov-io

codecov-io commented Jan 18, 2017 •

Copy link
Copy Markdown

Current coverage is 51.20% (diff: 100%)

Merging #2155 into master will decrease coverage by 10.04%

@@             master      #2155   diff @@
==========================================
  Files           125        125           
  Lines         11436      11433      -3   
  Methods           0          0           
  Messages          0          0           
  Branches          0          0           
==========================================
- Hits           7004       5854   -1150   
- Misses         3545       4833   +1288   
+ Partials        887        746    -141   

Powered by Codecov. Last update 954b4e8...959659c

@dmcgowan
dmcgowan merged commit 4ac3976 into distribution:master Mar 3, 2017
jgehrcke added a commit to jgehrcke/distribution that referenced this pull request Nov 28, 2026
This test confirms that the proxy uses the response writer's Write
method when a request misses the cache for a blob already being fetched.

In distribution#5052 the registry's response writer forwards ReadFrom to enable
sendfile. Without blobResponseWriter from distribution#5115, io.CopyN would use
ReadFrom here. With Prometheus instrumentation enabled, promhttp's
ReadFrom would commit status 200 before reading the upstream body,
even if the first read failed (prometheus/client_golang#2155).

Using Write here costs us no sendfile opportunity. ReadFrom would still
read the upstream HTTP response body through an HTTPReadSeeker.

Keep blobResponseWriter and this test after upgrading to a client_golang
release that fixes distribution#2155. The wrapper sets blob headers on the first
write of blob data, so early error responses keep their own headers.

Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants