]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw, cls_rgw: a tool to rebuild bucket stats
authorYehuda Sadeh <yehuda@inktank.com>
Thu, 13 Sep 2012 23:20:15 +0000 (16:20 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Tue, 18 Sep 2012 20:08:56 +0000 (13:08 -0700)
commit6bc1ef0aa20768e8ed3cec2b06d1abc1459b275e
treef95d79af530ff4c78f16cffabc9d5b038e273e31
parent08e9fc02fe45ed6951c30aad17d3ca5484f65420
rgw, cls_rgw: a tool to rebuild bucket stats

radosgw-admin bucket check [--fix] --bucket=<bucket>

The command will dump the existing bucket header stats,
and the calculated bucket header stats. If --fix is provided
the bucket stats will be overwritten by the recalculated
stats.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/cls/rgw/cls_rgw.cc
src/cls/rgw/cls_rgw_client.cc
src/cls/rgw/cls_rgw_client.h
src/cls/rgw/cls_rgw_ops.h
src/rgw/rgw_admin.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h