Server-side copy of parts of object into new objects?

asked 2015-08-19 12:31:29 -0600

James Swift gravatar image


I was curious if it is possible with any OpensStack Swift API or metadata request to perform a Swift server-side copy of pieces of an object into new individual objects.

My use case would be I have a larger object (say 10 MB) that I would like to split into 10 1 MB objects. Or perhaps I would like to preserve the first 5 MB of this object and forget the rest. What I would have in mind would be to turn the single 10 MB object into 5 1 MB objects (for the first 5 MB of the original object) and then delete the old 10 MB object.

Is this something that is possible without having to GET the original object and perform this work client-side?

Thank you!

edit retag flag offensive close merge delete