]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw-admin: a tool to fix object locator issue
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 22 Apr 2015 22:39:05 +0000 (15:39 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 22 Apr 2015 22:51:38 +0000 (15:51 -0700)
commitbe4355ad8ed622734172fdce77ca71fb2635b36c
tree6ff18b615ebfe878120dfa46963ba9d2545483bc
parent3d4a1d20b86a5a00556df3d6a8dba096509274b7
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>
src/rgw/rgw_admin.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h