]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix multipart upload listing
authorYehuda Sadeh <yehuda@inktank.com>
Fri, 17 Jan 2014 17:30:30 +0000 (09:30 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Tue, 28 Jan 2014 19:59:11 +0000 (11:59 -0800)
commit2e7bd83f999e9cc865de71ff3063816239db3b44
tree106d903d1879545a8f967d6a6857bc49cbec6cc5
parent86c3c5a5c926105ea39a1eeb276015325b8dbbac
rgw: fix multipart upload listing

Fixes: #7169
A separate fix has been created for dumpling.

Previously we read the entire list of parts, disregarding the actual
marker and the requested max parts. This fix refactors the way we read
the list of parts (doing it in parts, using marker).

Create new upload-id format that is used to identify uploads with sorted
omap entries. Make sure we're backward compatible and handle correctly
mixed-versions rgw uploads.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rest.cc
src/rgw/rgw_rest_s3.cc