]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw, cls_rgw: keep shard ids with oids
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 5 Dec 2014 23:52:26 +0000 (15:52 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 14 Jan 2015 03:21:26 +0000 (19:21 -0800)
commit0d1f97ff318bcf6ec60c5257b8b501d792d0b16e
tree6e10cf40fc404dc014f2eb8265a30183961cfe66
parent6b1c4a0bc263a3deef0638b8958dae95e1c6b462
rgw, cls_rgw: keep shard ids with oids

Instead of just having the list of oids, keep the shard ids together, so
that we can know on which shard the operation happened.
Bucket markers are just using the shard numeric id, instead of the
bucket instance shard id. This makes it easier to parse the markers
appropriately.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/cls/rgw/cls_rgw_client.cc
src/cls/rgw/cls_rgw_client.h
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h