The bucket has been replaced by bucket info
Signed-off-by: Zhang Lei <243290414@qq.com>
bool fix_index = op_state.will_fix_index();
- rgw_bucket bucket = op_state.get_bucket();
-
if (!fix_index) {
set_err_msg(err_msg, "check-objects flag requires fix index enabled");
return -EINVAL;
map<RGWObjCategory, RGWStorageStats>& calculated_stats,
std::string *err_msg)
{
- rgw_bucket bucket = op_state.get_bucket();
bool fix_index = op_state.will_fix_index();
int r = store->bucket_check_index(bucket_info, &existing_stats, &calculated_stats);