]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw-admin: a tool to fix object locator issue 4515/head
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 22 Apr 2015 22:39:05 +0000 (15:39 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 29 Apr 2015 23:18:40 +0000 (16:18 -0700)
commit856b2fa1fc72916349e484bf3615860392b74100
tree8ba07f22792f83c727a051e7b7ca6fa649d0c2c4
parent512ae4cb3e182ce79aca7354c66d2f2a662555da
rgw-admin: a tool to fix object locator issue

Objects that start with underscore need to have an object locator,
this is due to an old behavior that we need to retain. Some objects
might have been created without the locator. This tool creates a new
rados object with the appropriate locator.

Syntax:

$ ./radosgw-admin bucket check --check-head-obj-locator \
                               --bucket=<bucket> [--fix]

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit be4355ad8ed622734172fdce77ca71fb2635b36c)
src/rgw/rgw_admin.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h