librados::OPERATION_FULL_FORCE should be translated to
CEPH_OSD_FLAG_FULL_FORCE before calling IoCtxImpl::remove().
Fixes: https://tracker.ceph.com/issues/64558
Signed-off-by: Chen Yuanrun <chen-yuanrun@foxmail.com>
(cherry picked from commit
a4e2a598aeeec6eeeae00d5c81443ab8e091a337)
::ObjectOperation op;
prepare_assert_ops(&op);
op.remove();
- return operate(oid, &op, nullptr, librados::OPERATION_FULL_FORCE);
+ return operate(oid, &op, nullptr, CEPH_OSD_FLAG_FULL_FORCE);
}
int librados::IoCtxImpl::remove(const object_t& oid, int flags)