Repository navigation
crimson/osd/pg: properly propagate snap mapper updates and do clean-region-based clone objects recovery - #58868
Conversation
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
e694ef2 to
bf59e30
Compare
|
jenkins test make check |
|
I think this is mostly right. I'd like to try to avoid using interruptor::async in the fast path, though. I'd started on a refactor you might be able to use directly instead of your last commit (https://github.com/athanatos/ceph/tree/sjust/wip-67057-snapmapper)? |
There was a problem hiding this comment.
const pg_missing_item & probably?
There was a problem hiding this comment.
yeah, sorry, will correct it.
Thanks:-) I'll drop my last commit. |
|
@athanatos BTW, can I merge your commits in https://github.com/athanatos/ceph/tree/sjust/wip-67057-snapmapper to this PR? |
Sorry, I didn't notice this build error, will fix it. |
|
@xxhdx1985126 Yeah, you can cherry-pick them over if they seem ok to you. |
a6ec2a2 to
a03371d
Compare
|
jenkins test make check |
a03371d to
fbdadbb
Compare
|
jenkins test make check |
Last commit should handle this |
|
jenkins test make check |
Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
coroutines Signed-off-by: Matan Breizman <[email protected]>
We should be carful with using capturing lambdas with coroutines. Avoid capturing [this] by passing process_and_submit instead. See: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rcoro-capture Signed-off-by: Matan Breizman <[email protected]>
…bmit Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
Since we now co_await mut_func, we should not pass it by rvalue ref.
```
DEBUG 2024-09-01 15:54:46,212 [shard 0:main] osd - do_osd_ops_execute: object 2:c4c92e5a:::rbd_trash:head submitting txn
=================================================================
==17416==ERROR: AddressSanitizer: stack-use-after-return on address 0x7f590008a430 at pc 0x0000040a367a bp 0x7ffc0b1d5ff0 sp 0x7ffc0b1d5fe0
Address 0x7f590008a430 is located in stack of thread T0 at offset 48 in frame
#0 0x40b0a2b in crimson::osd::PG::do_osd_ops_execute ... lambda(std::error_code const&)#1}&&)::{lambda()#1}::operator()() const (/usr/bin/ceph-osd+0x40b0a2b)
```
Co-authored-by: Xuehan Xu <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
924491c to
0d37bc9
Compare
|
jenkins test make check |
Since ceph#58868, snap map updates are now maintained via PG::update_snap_map. Signed-off-by: Matan Breizman <[email protected]>
Since ceph/ceph#58868, snap map updates are now maintained via PG::update_snap_map. Signed-off-by: Matan Breizman <[email protected]> (cherry picked from commit 5f26048)
ceph#58868 introduced SnapMapper::update_snap_map to be used both by Crimson and Classic. No change in behavior. Signed-off-by: Matan Breizman <[email protected]>
ceph#58868 introduced SnapMapper::update_snap_map to be used both by Crimson and Classic. No change in behavior. Signed-off-by: Matan Breizman <[email protected]>
This is a POC draft.
Fixes: https://tracker.ceph.com/issues/67057
Signed-off-by: Xuehan Xu [email protected]
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 retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e