Skip to content

Swift static large objects - #1229

Closed
lebauce wants to merge 2 commits into
distribution:masterfrom
lebauce:swift-static-large-objects
Closed

lebauce wants to merge 2 commits into
distribution:masterfrom
lebauce:swift-static-large-objects

Conversation

@lebauce

@lebauce lebauce commented Dec 2, 2015

Copy link
Copy Markdown
Contributor

Static large objects are very similar to Dynamic Large Object (DLO) in that it enables the user to upload many objects concurrently and afterwards download them as a single object. It is different in that it does not rely on eventually consistent container listings to do so.

@lebauce
lebauce force-pushed the swift-static-large-objects branch 3 times, most recently from 4f23aab to 6acfafc Compare December 4, 2015 11:25
@dmp42

dmp42 commented Dec 22, 2015

Copy link
Copy Markdown
Contributor

@lebauce this needs a rebase unfortunately

@RichardScothern

Copy link
Copy Markdown

ping @lebauce

@lebauce
lebauce force-pushed the swift-static-large-objects branch from 6acfafc to 67b8481 Compare January 21, 2016 17:02
@codecov-io

Copy link
Copy Markdown

Current coverage is 53.82%

Merging #1229 into master will decrease coverage by -4.09% as of 67b8481

@@            master   #1229   diff @@
======================================
  Files          123     123       
  Stmts        11156   11213    +57
  Branches       778     709    -69
  Methods          0       0       
======================================
- Hit           6461    6035   -426
+ Partial        778     709    -69
- Missed        3917    4469   +552

Review entire Coverage Diff as of 67b8481


Uncovered Suggestions

  1. +0.28% via ...ge/driver/gcs/gcs.go#182...213
  2. +0.24% via ...ge/driver/gcs/gcs.go#85...111
  3. +0.21% via ...ge/driver/gcs/gcs.go#471...494
  4. See 7 more...

Powered by Codecov. Updated on successful CI builds.

@majewsky

Copy link
Copy Markdown
Contributor

I'm observing test failures in the swift driver tests when makeing this branch. See https://gist.github.com/majewsky/9864d8ca9d944cc266a0. The test failures are near the very bottom. I have added various environment information at the top for context.

EDIT: When trying to run a docker push against this registry, I could identify the following issues (by looking at a mitmproxy trace of the registry's communication with the Swift API):

  1. The PUT .../data request has a X-Static-Large-Object: true header, but is missing the ?multipart-manifest=put query parameter.
  2. The manifest in that same request is missing the required size_bytes field.

After adding these in mitmproxy and replaying the request, Swift still complains that it's an "Invalid Manifest File". (This is a Kilo Swift, by the way.)

The docker push fails, overall. The registry will retry the faulty PUT .../data multiple times and then return a 500 Internal Server Error to the docker client.

@RichardScothern

Copy link
Copy Markdown

hi @lebauce

@dmcgowan

Copy link
Copy Markdown
Collaborator

Looks like this is not being actively worked on and requires rebase. If this feature is still wanted feel free to rebase and reopen

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.

7 participants