we don't care about the result of shutdown() of messengers, when
shutting down the daemon actually, and we don't handle the failures.
Signed-off-by: Kefu Chai <kchai@redhat.com>
}).then([this] {
return when_all_succeed(
public_msgr->shutdown(),
- cluster_msgr->shutdown());
- }).then_unpack([] {
- return seastar::now();
+ cluster_msgr->shutdown()).discard_result();
}).handle_exception([](auto ep) {
logger().error("error while stopping osd: {}", ep);
});