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:
Kefu Chai 2026-07-22 09:04:46 +08:00 committed by GitHub
commit 57f86c05a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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<>();