Signed-off-by: Casey Bodley <cbodley@redhat.com>
}
ctx->locator_set_key(obj.loc);
+ ctx->set_pool_full_try(); // allow deletion at pool quota limit
const string& oid = obj.key.name; /* just stored raw oid there */
if (ret2 < 0) {
continue;
}
+ obj.ioctx.set_pool_full_try(); // allow deletion at pool quota limit
ObjectWriteOperation op;
cls_refcount_put(op, ref_tag, true);
if (ret < 0) {
return;
}
+ ioctx.set_pool_full_try(); // allow deletion at pool quota limit
// issue deletions in parallel, up to max_aio at a time
auto aio = rgw::make_throttle(cct->_conf->rgw_multi_obj_del_max_aio, y);