From 755be887a60fc9c1a9c7553ec77ffe4ea782802d Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Fri, 21 Jun 2024 15:51:33 +0300 Subject: [PATCH] api: Remove dedicated failure_detector registration method It's now empty and can be dropped Signed-off-by: Pavel Emelyanov --- api/api.cc | 4 ---- api/api_init.hh | 1 - main.cc | 1 - 3 files changed, 6 deletions(-) diff --git a/api/api.cc b/api/api.cc index b8ad5757d6..0883c384c2 100644 --- a/api/api.cc +++ b/api/api.cc @@ -264,10 +264,6 @@ future<> unset_hinted_handoff(http_context& ctx) { return ctx.http_server.set_routes([&ctx] (routes& r) { unset_hinted_handoff(ctx, r); }); } -future<> set_server_gossip_settle(http_context& ctx, sharded& g) { - return make_ready_future<>(); -} - future<> set_server_compaction_manager(http_context& ctx) { auto rb = std::make_shared < api_registry_builder > (ctx.api_doc); diff --git a/api/api_init.hh b/api/api_init.hh index 5f4cf16a2e..650cc4af12 100644 --- a/api/api_init.hh +++ b/api/api_init.hh @@ -117,7 +117,6 @@ future<> set_server_stream_manager(http_context& ctx, sharded unset_server_stream_manager(http_context& ctx); future<> set_hinted_handoff(http_context& ctx, sharded& p); future<> unset_hinted_handoff(http_context& ctx); -future<> set_server_gossip_settle(http_context& ctx, sharded& g); future<> set_server_cache(http_context& ctx); future<> set_server_compaction_manager(http_context& ctx); future<> set_server_done(http_context& ctx); diff --git a/main.cc b/main.cc index b7839b7b48..9746674211 100644 --- a/main.cc +++ b/main.cc @@ -1999,7 +1999,6 @@ To start the scylla server proper, simply invoke as: scylla server (or just scyl startlog.info("Waiting for gossip to settle before accepting client requests..."); gossiper.local().wait_for_gossip_to_settle().get(); } - api::set_server_gossip_settle(ctx, gossiper).get(); supervisor::notify("allow replaying hints"); proxy.invoke_on_all(&service::storage_proxy::allow_replaying_hints).get();