]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/.../errorator: simplify maybe_handle_error_t::handle()
authorSamuel Just <sjust@redhat.com>
Wed, 7 Feb 2024 01:19:43 +0000 (17:19 -0800)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 8 May 2024 07:05:36 +0000 (10:05 +0300)
commit4c9a621c82a6e65bd189562bd2e3a6251a23cf4f
tree38702eaf4664ee4d875d79bce24e0ecf06da66c6
parent96805dcf909541c4ca9a1e90258de8ae5b6fa1bc
crimson/.../errorator: simplify maybe_handle_error_t::handle()

Using FuturatorT::invoke covers both of the last two cases and also
correctly deals with handlers that return interrupible futures.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 979c1916507092591469f8ea3b0a0440f2b88066)
src/crimson/common/errorator.h