mirror of
https://github.com/ceph/ceph
synced 2025-01-19 09:32:00 +00:00
librados: make OPERATION_FULL_FORCE the default for rados_remove()
Fixes: http://tracker.ceph.com/issues/22413 Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
d7dfdc8730
commit
435954ba60
@ -1282,7 +1282,7 @@ int librados::IoCtxImpl::remove(const object_t& oid)
|
||||
::ObjectOperation op;
|
||||
prepare_assert_ops(&op);
|
||||
op.remove();
|
||||
return operate(oid, &op, NULL);
|
||||
return operate(oid, &op, nullptr, librados::OPERATION_FULL_FORCE);
|
||||
}
|
||||
|
||||
int librados::IoCtxImpl::remove(const object_t& oid, int flags)
|
||||
|
Loading…
Reference in New Issue
Block a user