Project

General

Profile

Actions

Bug #64558

closed
YC YC

librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::remove

Bug #64558: librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::remove

Added by Yuanrun Chen almost 3 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Due date:
% Done:

100%

Source:
Community (user)
Backport:
quincy,reef,squid
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
librados
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-709-ge6d2e6c44c
Released In:
v20.2.0~3303
Upkeep Timestamp:
2025-11-01T01:20:13+00:00

Description

librados::OPERATION_FULL_FORCE should be translated to CEPH_OSD_FLAG_FULL_FORCE before calling IoCtxImpl::remove().

diff --git a/src/librados/IoCtxImpl.cc b/src/librados/IoCtxImpl.cc
index d66b56560f9c3..947d8a4930aae 100644
--- a/src/librados/IoCtxImpl.cc
+++ b/src/librados/IoCtxImpl.cc
@@ -1235,7 +1235,7 @@ int librados::IoCtxImpl::remove(const object_t& oid)
   ::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)

Related issues 3 (0 open — 3 closed)

Copied to RADOS - Backport #65040: reef: librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::removeResolvedKonstantin Shalygin

Actions
Copied to RADOS - Backport #65041: quincy: librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::removeResolvedKonstantin Shalygin

Actions
Copied to RADOS - Backport #65042: squid: librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::removeResolvedKonstantin Shalygin

Actions

RZ Updated by Radoslaw Zarzynski almost 3 years ago Actions #1

  • Status changed from New to Fix Under Review

ID Updated by Ilya Dryomov over 2 years ago Actions #2

  • Backport set to quincy,reef,squid

ID Updated by Ilya Dryomov over 2 years ago Actions #3

  • Assignee set to Yuanrun Chen

RZ Updated by Radoslaw Zarzynski over 2 years ago Actions #4

Sent to QA.

ID Updated by Ilya Dryomov over 2 years ago Actions #5

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot over 2 years ago Actions #6

  • Copied to Backport #65040: reef: librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::remove added

UB Updated by Upkeep Bot over 2 years ago Actions #7

  • Copied to Backport #65041: quincy: librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::remove added

UB Updated by Upkeep Bot over 2 years ago Actions #8

  • Copied to Backport #65042: squid: librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::remove added

KS Updated by Konstantin Shalygin about 2 years ago Actions #10

  • Status changed from Pending Backport to Resolved
  • Target version set to v20.0.0
  • % Done changed from 0 to 100
  • Source set to Community (user)

UB Updated by Upkeep Bot over 1 year ago Actions #11

  • Merge Commit set to e6d2e6c44c07df43fa21f2fcec517a1445ea4269
  • Fixed In set to v19.3.0-709-ge6d2e6c44c0
  • Upkeep Timestamp set to 2025-07-11T15:09:51+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #12

  • Fixed In changed from v19.3.0-709-ge6d2e6c44c0 to v19.3.0-709-ge6d2e6c44c
  • Upkeep Timestamp changed from 2025-07-11T15:09:51+00:00 to 2025-07-14T23:39:09+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #13

  • Released In set to v20.2.0~3303
  • Upkeep Timestamp changed from 2025-07-14T23:39:09+00:00 to 2025-11-01T01:20:13+00:00
Actions

Also available in: PDF Atom