mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
Merge pull request #11982 from zhouruisong/master
rgw:bugfix for deleting objects name beginning and ending with underscores of one bucket using POST method of AWS's js sdk. Reviewed-by: Orit Wasserman <owasserm@redhat.com>
This commit is contained in:
commit
a8e359f116
@ -5239,7 +5239,8 @@ void RGWDeleteMultiObj::execute()
|
||||
for (iter = multi_delete->objects.begin();
|
||||
iter != multi_delete->objects.end() && num_processed < max_to_delete;
|
||||
++iter, num_processed++) {
|
||||
rgw_obj obj(bucket, *iter);
|
||||
rgw_obj obj(bucket, (*iter).name);
|
||||
obj.set_instance(s->object.instance);
|
||||
|
||||
obj_ctx->set_atomic(obj);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user