diff --git a/src/librados/IoCtxImpl.cc b/src/librados/IoCtxImpl.cc index e448df27258..bb8a0795771 100644 --- a/src/librados/IoCtxImpl.cc +++ b/src/librados/IoCtxImpl.cc @@ -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)