Repository navigation
tentacle: rgw/multisite: Fix lifetime issues - #64862
Merged
Merged
Conversation
adamemerson
force-pushed
the
wip-71066-tentacle
branch
from
August 6, 2025 22:28
72d99cc to
aa17d9f
Compare
Contributor
Author
|
Added fix from #64952 |
Contributor
Author
|
jenkins test windows |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
Member
|
@adamemerson please resolve conflicts, and then this PR can be merged. |
Contributor
|
@adamemerson pls rebase |
Asynchrony combined with cancellations keeps leading to occasional lifetime issues, so follow the best-practices of Asio I/O objects by having completions keep a reference live. The original NeoRados backing implements Asio's two-phase shutdown properly. The RadosClient backing does not, because it shares an Objecter with completions that do not belong to it. In practice I don't think this will matter since librados and neorados get shut down around the same time. Signed-off-by: Adam C. Emerson <[email protected]> (cherry picked from commit 57c9723928b4d2b2148ca0dd4d505acdc071f8eb) Signed-off-by: Adam C. Emerson <[email protected]>
Also run them in strands. Also `datalog_rados` is a `shared_ptr`, now. Probably make it intrusive later. Signed-off-by: Adam C. Emerson <[email protected]> (cherry picked from commit 3c2b587ead6b0cb5acfd84788958dd957d020875) Conflicts: src/rgw/driver/rados/rgw_service.cc src/rgw/rgw_sal.cc - `#ifdef`s for standalone Rados src/rgw/driver/rados/rgw_datalog.cc - Periodic re-run of recovery removed in main and pending backport Signed-off-by: Adam C. Emerson <[email protected]>
Tag operations with a subsystem so we can cancel them all in one go. Signed-off-by: Adam C. Emerson <[email protected]> (cherry picked from commit 2526eb573b789b33b7d9ebf1169491f13e2318bb) Signed-off-by: Adam C. Emerson <[email protected]>
Split nominal handle object and reference-counted implementation. While we're at it, add lazy-open functionality. Signed-off-by: Adam C. Emerson <[email protected]> (cherry picked from commit 3097297dd39432d172d69454419fa83a908075f6) Signed-off-by: Adam C. Emerson <[email protected]>
This is slightly ugly but good enough for now. Make sure we can block when shutting down background tasks. Remove a few `driver` parameters that are unused. This lets us simplify the IAM Policy and Lua tests and not construct stores we never use. (Which is good since we aren't running them under a cluster.) Signed-off-by: Adam C. Emerson <[email protected]> (cherry picked from commit 3def99eec5df353a0fb34be79d9e98a08eb05985) Conflicts: src/rgw/driver/rados/rgw_service.cc src/rgw/rgw_sal.h src/rgw/rgw_sal.cc - `#ifdef` changes src/test/rgw/test_rgw_iam_policy.cc src/test/rgw/test_rgw_lua.cc - SAL renaming Signed-off-by: Adam C. Emerson <[email protected]>
ceph@a2d2664 ftbfs: ``` /home/jenkins-build/build/workspace/ceph-pull-requests/src/neorados/cls/fifo/detail/fifo.h:630:14: error: no member named 'parse' in namespace 'ceph'; did you mean 'pause'? 630 | auto n = ceph::parse<decltype(m.num)>(num); | ^~~~~~~~~~~ ``` Signed-off-by: Matan Breizman <[email protected]> (cherry picked from commit 3df1133) Signed-off-by: Adam C. Emerson <[email protected]>
adamemerson
force-pushed
the
wip-71066-tentacle
branch
from
September 9, 2025 05:09
c2bc5da to
5ee3a4a
Compare
Contributor
Author
|
@cbodley Could I get an approval, please? |
Contributor
Author
|
@yuriw Rebased |
cbodley
approved these changes
Sep 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original issue: https://tracker.ceph.com/issues/71066
Original issue: https://tracker.ceph.com/issues/72211
Fixes: https://tracker.ceph.com/issues/72450
Fixes: https://tracker.ceph.com/issues/72453
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition