}
RGWBucketReshard br(store, bucket_info, attrs, nullptr);
-
- Formatter* formatter = new JSONFormatter(false);
- auto formatter_ptr = std::unique_ptr<Formatter>(formatter);
- ret = br.execute(entry.new_num_shards, max_entries, true, nullptr,
- formatter, this);
+ ret = br.execute(entry.new_num_shards, max_entries, false, nullptr,
+ nullptr, this);
if (ret < 0) {
- ldout (store->ctx(), 0) << __func__ <<
- "ERROR in reshard_bucket " << entry.bucket_name << ":" <<
+ ldout(store->ctx(), 0) << __func__ <<
+ ": Error during resharding bucket " << entry.bucket_name << ":" <<
cpp_strerror(-ret)<< dendl;
return ret;
}