rgw: avoid infinite loop when deleting a bucket
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
// now convert the key (oid) to an rgw_obj_key since that will
// separate out the namespace, name, and instance
rgw_obj_key obj_key;
- bool parsed = rgw_obj_key::parse_raw_oid(key, &obj_key);
+ bool parsed = rgw_obj_key::parse_raw_oid(start_after.name, &obj_key);
if (!parsed) {
- ldout(cct, 0) <<
+ ldpp_dout(dpp, 0) <<
"ERROR: RGWRados::cls_bucket_list_unordered received an invalid "
"start marker: '" << start_after << "'" << dendl;
return -EINVAL;