diff --git a/service/storage_service.cc b/service/storage_service.cc index 04c5f407bb..5d6c10f34a 100644 --- a/service/storage_service.cc +++ b/service/storage_service.cc @@ -20,7 +20,6 @@ #include "raft/raft.hh" #include "auth/cache.hh" #include -#include #include #include "service/qos/raft_service_level_distributed_data_accessor.hh" #include "service/qos/service_level_controller.hh" @@ -119,11 +118,9 @@ #include "service/task_manager_module.hh" #include "service/topology_mutation.hh" #include "cql3/query_processor.hh" -#include "service/qos/service_level_controller.hh" #include #include "utils/labels.hh" #include "view_info.hh" -#include "raft/raft.hh" #include "debug.hh" #include diff --git a/service/storage_service.hh b/service/storage_service.hh index 655f4661fb..d344c75aed 100644 --- a/service/storage_service.hh +++ b/service/storage_service.hh @@ -35,7 +35,6 @@ #include #include "replica/database_fwd.hh" #include "streaming/stream_reason.hh" -#include #include "service/migration_listener.hh" #include #include @@ -56,7 +55,6 @@ class node_ops_cmd_request; class node_ops_cmd_response; class node_ops_info; -enum class node_ops_cmd : uint32_t; class repair_service; class protocol_server; @@ -177,7 +175,6 @@ class storage_service : public service::migration_listener, public gms::i_endpoi private: using token = dht::token; using token_range_endpoints = dht::token_range_endpoints; - using endpoint_details = dht::endpoint_details; using boot_strapper = dht::boot_strapper; using token_metadata = locator::token_metadata; using shared_token_metadata = locator::shared_token_metadata; @@ -214,7 +211,6 @@ private: sstring _operation_in_progress; seastar::metrics::metric_groups _metrics; - using client_shutdown_hook = noncopyable_function; std::vector _protocol_servers; std::vector _listeners; named_gate _async_gate; @@ -731,9 +727,6 @@ public: future<> removenode(locator::host_id host_id, locator::host_id_or_endpoint_list ignore_nodes); future<> mark_excluded(const std::vector&); future node_ops_cmd_handler(gms::inet_address coordinator, std::optional coordinator_host_id, node_ops_cmd_request req); - void node_ops_cmd_check(gms::inet_address coordinator, const node_ops_cmd_request& req); - future<> node_ops_cmd_heartbeat_updater(node_ops_cmd cmd, node_ops_id uuid, std::list nodes, lw_shared_ptr heartbeat_updater_done); - void on_node_ops_registered(node_ops_id); future get_operation_mode();