Repository navigation
[Swift] wait for DLO segments to show up when Close()ing the writer - #1650
Merged
RichardScothern merged 1 commit intoMay 2, 2016
Merged
Conversation
Not just when Commit()ing the result. This fixes some errors I observed when the layer (i.e. the DLO) is Stat()ed immediately after closing, and reports the wrong file size because the container listing is not yet up-to-date. Signed-off-by: Stefan Majewsky <[email protected]>
Current coverage is
|
|
LGTM. @nevermosby : second opinon please |
Contributor
Author
|
Bump. I want to extend this pattern to more request types to further stabilize the DLO support, so it'd be nice to have this merged. |
Contributor
|
Yep, looks good |
cezarsa
added a commit
to cezarsa/swift
that referenced
this pull request
Aug 22, 2016
This add changes similar to distribution/distribution#1650. Both DLO and SLO are checked for consistency.
3 tasks done
6 of 7 tasks
thaJeztah
pushed a commit
to thaJeztah/distribution
that referenced
this pull request
Apr 22, 2021
…-segments [Swift] wait for DLO segments to show up when Close()ing the writer
thaJeztah
pushed a commit
to thaJeztah/distribution
that referenced
this pull request
Jan 19, 2022
…-segments [Swift] wait for DLO segments to show up when Close()ing the writer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Not just when
Commit()ing the result. This fixes some errors I observed when the layer (i.e. the DLO) isStat()ted immediately after closing, and reports the wrong file size because the container listing is not yet up-to-date (usually recognized by the error message "digest invalid: provided digest did not match uploaded content").Related to #1013 and maybe to #1539 aka moby/moby#21290.