Project

General

Profile

Actions

Bug #64558

closed

librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::remove

Added by Yuanrun Chen about 2 years ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% 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 open3 closed)

Copied to RADOS - Backport #65040: reef: librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::removeResolvedKonstantin ShalyginActions
Copied to RADOS - Backport #65041: quincy: librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::removeResolvedKonstantin ShalyginActions
Copied to RADOS - Backport #65042: squid: librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::removeResolvedKonstantin ShalyginActions
Actions #1

Updated by Radoslaw Zarzynski about 2 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Ilya Dryomov about 2 years ago

  • Backport set to quincy,reef,squid
Actions #3

Updated by Ilya Dryomov about 2 years ago

  • Assignee set to Yuanrun Chen
Actions #4

Updated by Radoslaw Zarzynski about 2 years ago

Sent to QA.

Actions #5

Updated by Ilya Dryomov about 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Upkeep Bot about 2 years ago

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

Updated by Upkeep Bot about 2 years ago

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

Updated by Upkeep Bot about 2 years ago

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

Updated by Konstantin Shalygin over 1 year ago

  • 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)
Actions #11

Updated by Upkeep Bot 8 months ago

  • 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
Actions #12

Updated by Upkeep Bot 8 months ago

  • 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
Actions #13

Updated by Upkeep Bot 5 months ago

  • 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: Atom PDF