Merge lp:~gaurav-gangalwar/swift/copy_manifest into lp:~hudson-openstack/swift/trunk
Proposed by
Gaurav Gangalwar
Status: | Rejected |
---|---|
Rejected by: | John Dickinson |
Proposed branch: | lp:~gaurav-gangalwar/swift/copy_manifest |
Merge into: | lp:~hudson-openstack/swift/trunk |
Diff against target: |
75 lines (+21/-6) 3 files modified
swift/common/utils.py (+7/-0) swift/proxy/server.py (+13/-5) test/unit/proxy/test_server.py (+1/-1) |
To merge this branch: | bzr merge lp:~gaurav-gangalwar/swift/copy_manifest |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
gholt (community) | Disapprove | ||
Review via email: mp+70436@code.launchpad.net |
Description of the change
We are consolidating the segments of manifest object in COPY operation.
This will not work if the object is large object (>5GB).
It will also affect manifest objects on POST operations in "post_as_copy".
I have made the changes to honour segmentation in COPY operation also.
To post a comment you must log in.
Unmerged revisions
- 338. By <email address hidden>
-
Don't consolidate segments for manifest object copy.
Actually, that was sort of the point of the way the code currently works.
A COPY of a segmented object will make a new consolidated version of the object, if the total length is less than the single object cluster max (5G).
If you just want another segmented object copy, it's pretty quick and easy to PUT a new manifest file with X-Object-Manifest pointing to the same segments list.