Repository navigation
squid: rgw: make incomplete multipart upload part of bucket check efficient - #64421
Conversation
|
jenkins test api |
|
jenkins test make check |
|
@ivancich This needs to be updated to use the Spawn included with asio, we removed the Spawn submodule. |
|
@adamemerson Running into linking issues locally. The following all have undefined references:
Yet when I compare radosgw's link command between squid and main they're virtually the same, both including boost/lib/libboost_context.a . |
|
@cbodley Could you take a look here? |
|
jenkins test api |
|
jenkins test make check |
|
@ivancich , Can you please try rebase if jenkin check fails? |
|
Trying to figure out why the make check fails. (note: I've made some components to the output bold) [1653/2253] Linking CXX executable bin/unittest_rgw_reshard_wait /opt/ceph/lib/x86_64-linux-gnu/libboost_context.so.1.82.0 rgw_bucket.cc:(.text+0x2526d): undefined reference to `boost::coroutines::detail::coroutine_context::coroutine_context()' @cbodley @adamemerson -- does anything jump out to either of you? |
|
jenkins test api |
|
jenkins test make check |
|
@anrao19 More requests are not going to help. There's a build issue that I haven't been able to figure out yet. |
|
This has a linking issue related to the spawn submodule, removing needs-qa label. |
fd1f94a to
51d9082
Compare
|
/audit override |
|
✅ Audit Override Applied by @adamemerson. |
|
/audit override |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Commit Parity Visualizer
| BACKPORT PR #64421 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| 24c2d57 rgw: make incomplete multipart upload part of bucket check efficient | PR #57083 | ebe9893 rgw: make incomplete multipart upload part of bucket check efficient |
Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations
A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
This does not necessarily indicate an issue but a maintainer should review.
**Click to expand conflict summaries.**
Deviation in Backport 24c2d57 (cherry-pick of ebe9893)
Affected File(s)
src/rgw/CMakeLists.txtsrc/rgw/driver/rados/rgw_bucket.cc
Range Diff
Click to expand
--- Original (ebe98934)
+++ Backport (24c2d57e)
@@ -14,3 +14,12 @@
worst cases.
Signed-off-by: J. Eric Ivancich <[email protected]>
+(cherry picked from commit ebe98934cd69a32abb3ddafc1fa94b40dfa6844c)
+
+Conflicts:
+ src/rgw/CMakeLists.txt
+ - Link `rgw_common` with `Boost::coroutine`.
+ src/rgw/driver/rados/rgw_bucket.cc
+ - Use `boost::asio::spawn` instead of `spawn::spawn`.
+
+Signed-off-by: Adam C. Emerson <[email protected]>
================================================================================
RANGE DIFF
================================================================================
1: ebe98934cd6 ! 1: 24c2d57e1b8 rgw: make incomplete multipart upload part of bucket check efficient
@@ Commit message
worst cases.
Signed-off-by: J. Eric Ivancich <[email protected]>
+ (cherry picked from commit ebe98934cd69a32abb3ddafc1fa94b40dfa6844c)
+
+ Conflicts:
+ src/rgw/CMakeLists.txt
+ - Link `rgw_common` with `Boost::coroutine`.
+ src/rgw/driver/rados/rgw_bucket.cc
+ - Use `boost::asio::spawn` instead of `spawn::spawn`.
+
+ Signed-off-by: Adam C. Emerson <[email protected]>
+
+ ## src/rgw/CMakeLists.txt ##
+@@ src/rgw/CMakeLists.txt: target_link_libraries(rgw_common
+ PUBLIC
+ ${LUA_LIBRARIES}
+ RapidJSON::RapidJSON
++ Boost::coroutine
+ Boost::context
+ ${FMT_LIB}
+ OpenSSL::SSL)
## src/rgw/driver/rados/rgw_bucket.cc ##
+@@
+ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+ // vim: ts=8 sw=2 smarttab ft=cpp
+
++#include <boost/asio/spawn.hpp>
++
+ #include "include/function2.hpp"
+ #include "rgw_acl_s3.h"
+ #include "rgw_tag_s3.h"
@@ src/rgw/driver/rados/rgw_bucket.cc: static void parse_bucket(const string& bucket,
}
}
@@ src/rgw/driver/rados/rgw_bucket.cc: static void dump_index_check(map<RGWObjCateg
+ const int max_aio = std::max(1, op_state.get_max_aio());
+ int any_error = 0; // first error encountered if any
+ for (int i = 0; i < max_aio; i++) {
-+ spawn::spawn(context, [&](spawn::yield_context yield) {
++ boost::asio::spawn(context, [&](boost::asio::yield_context yield) {
+ while (true) {
+ const int shard = next_shard++;
+ if (shard >= num_shards) {
+ return;
+ }
+
-+ optional_yield y(context, yield);
++ optional_yield y(yield);
+
+ int r = ::check_bad_index_multipart(rados_store, &*bucket, dpp,
+ op_state, flusher, shard, y);How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
✅ Audit Override Applied by @adamemerson. |
|
jenkins test make check |
|
This PR has been added to squid integration testing by anuchaithra started 2026-08-20-07:39. |
pr testing completed and approved by @ivancich , more details in : https://tracker.ceph.com/issues/79645 |
backport tracker: https://tracker.ceph.com/issues/65892
backport of #57083
parent tracker: https://tracker.ceph.com/issues/65769
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh