]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/.../replicated_request: fix op lifetime in with_pg finally
authorSamuel Just <sjust@redhat.com>
Wed, 8 Jan 2025 19:34:54 +0000 (11:34 -0800)
committerSamuel Just <sjust@redhat.com>
Fri, 10 Jan 2025 03:44:11 +0000 (03:44 +0000)
commit321131660809c3f28c5956e4ea7512aeb0427a96
treef5ae97b40434a797dff0c1116864095037dfa9d8
parent7d29ca7e22a32efaa1afd7fe8fb670c317ecb3e3
crimson/.../replicated_request: fix op lifetime in with_pg finally

02b70a62a4 moved the call to handle.complete() into the finally,
but didn't extend the op ref lifetime until after the complete
resolved.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/osd_operations/replicated_request.cc