Skip to content

Commit

Permalink
Merge pull request #20534 from tchaikov/wip-22413
Browse files Browse the repository at this point in the history
librados: make OPERATION_FULL_FORCE the default for rados_remove()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
  • Loading branch information
tchaikov committed Feb 24, 2018
2 parents 4a00e32 + 435954b commit 026b767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librados/IoCtxImpl.cc
Expand Up @@ -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)
Expand Down

0 comments on commit 026b767

Please sign in to comment.