]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: use tenant/ for bucket instance metadata keys
authorCasey Bodley <cbodley@redhat.com>
Tue, 5 Jul 2016 13:00:19 +0000 (09:00 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 8 Jul 2016 16:20:25 +0000 (12:20 -0400)
commita0befa1e7be3aeb37209bac2e2a7de0edf5d5a95
tree5b33f8196447ea080c345e1ecb36c20bc23b137b
parent51ff8ef7c6bb7c9f55f3ca8ad059b029a4088cdf
rgw: use tenant/ for bucket instance metadata keys

to work around the ambiguity of parsing tenant: and :shard in the same
bucket instance metadata key, use tenant/ instead

to preserve backward compatibility with existing objects, new helper
function rgw_bucket_instance_key_to_oid() converts this / back to a :
before being used as an object name

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h