The removed block of code ultimately calls
RGWRados::bucket_set_reshard as the code block immediately below does,
although this block of code does not restore it to its correct "not
resharding" state.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
const RGWBucketInfo& bucket_info)
{
int ret;
- ret = clear_index_shard_reshard_status(dpp, store, bucket_info);
- if (ret < 0) {
- ldpp_dout(dpp, 0) << "RGWBucketReshard::" << __func__ <<
- " ERROR: error clearing reshard status from index shard " <<
- cpp_strerror(-ret) << dendl;
- return ret;
- }
// default constructed = NOT_RESHARDING
cls_rgw_bucket_instance_entry instance_entry;