]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: use bucket_info.bucket_id instead of marker where needed
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 26 Sep 2016 23:06:17 +0000 (16:06 -0700)
committerRobin H. Johnson <robin.johnson@dreamhost.com>
Thu, 9 Feb 2017 22:36:06 +0000 (14:36 -0800)
commit0ce2a125f4d400abaf2a65ff90d1d40ee000aea9
tree6b6cb8ebd79fc606eaf4e951998e773f972b628b
parent5fe58c5bf22ad593d650d68b059d462be49214ed
rgw: use bucket_info.bucket_id instead of marker where needed

We used to use these interchangeably, but they actually have diffent meaning.
The marker is the prefix we assign to the objects in this bucket, whereas
the bucket_id is the bucket instance's id. These used to hold the same
value, but with bucket resharding it's not going to be true anymore.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 94afaf722fc8289af6e75025ba7d783f11c4b7d0)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
src/rgw/rgw_rados.cc