mirror of
https://github.com/ceph/ceph
synced 2024-12-30 15:33:31 +00:00
rgw: don't remove bucket index when removing a bucket
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
This commit is contained in:
parent
10a2b60f33
commit
72ac281d7a
@ -2822,14 +2822,6 @@ int RGWRados::delete_bucket(rgw_bucket& bucket, RGWObjVersionTracker& objv_track
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
ObjectWriteOperation op;
|
||||
op.remove();
|
||||
librados::AioCompletion *completion = rados->aio_create_completion(NULL, NULL, NULL);
|
||||
r = index_ctx.aio_operate(oid, completion, &op);
|
||||
completion->release();
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user