]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/pg_recovery: fix exception handler scope in recover_missing 69964/head
authorSun Yuechi <sunyuechi@iscas.ac.cn>
Mon, 6 Jul 2026 14:44:35 +0000 (22:44 +0800)
committerSun Yuechi <sunyuechi@iscas.ac.cn>
Mon, 6 Jul 2026 14:44:35 +0000 (22:44 +0800)
commit2c736cf70e38aa9c0d3f0b24ccc14a43944450d2
treee76af18f150b57f349e2b43419c95dc0cab5e0e3
parent5937363e433a94c9e9600bb510c2a6fbcb2e9998
crimson/osd/pg_recovery: fix exception handler scope in recover_missing

Member access binds tighter than ?:, so the handler attached only to the
recover_object() branch and exceptions from recover_object_with_throttle()
escaped unhandled. Parenthesize the ternary to cover both branches.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
src/crimson/osd/pg_recovery.cc