mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
Merge pull request #69964 from sunyuechi/fix-crimson-pg-recovery-exception-scope
crimson/osd/pg_recovery: fix exception handler scope in recover_missing Reviewed-by: Kefu Chai <k.chai@proxmox.com> Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
This commit is contained in:
commit
57f86c05a0
@ -319,10 +319,10 @@ PGRecovery::recover_missing(
|
||||
} else {
|
||||
return recovering.wait_track_blocking(
|
||||
trigger,
|
||||
with_throttle
|
||||
(with_throttle
|
||||
? recover_object_with_throttle(soid, need)
|
||||
: recover_object(soid, need)
|
||||
.handle_exception_interruptible(
|
||||
).handle_exception_interruptible(
|
||||
[=, this, soid = std::move(soid)] (auto e) {
|
||||
on_failed_recover({ pg->get_pg_whoami() }, soid, need);
|
||||
return seastar::make_ready_future<>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user