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:
Kefu Chai 2018-02-22 19:07:34 +08:00
parent d7dfdc8730
commit 435954ba60

View File

@ -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)