]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: conversion tool to fix broken multipart objects 5108/head
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 26 Jun 2015 23:56:28 +0000 (16:56 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 6 Jul 2015 18:09:28 +0000 (11:09 -0700)
commitf02ca6107172cecd80a490df9f0d66204e62326c
treec5fd0f45dccd99f920bd1ff209427314ca5c97d2
parent8103908548bf7d6c9fa47fb181cd450670bae8d6
rgw: conversion tool to fix broken multipart objects

Fixes: #12079
Broken multipart objects: multipart objects that created on 0.94.2
and that start with underscore have a bad locator on their tail objects.
This extends the tool that was needed for older issue we've had with
hammer multipart objects (that start with underscore). The same usage
applies:

$ 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