/* * Copyright (C) 2023-present ScyllaDB */ /* * SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0 */ #pragma once #include #include "db/snapshot-ctl.hh" namespace seastar::httpd { class routes; } namespace seastar::http { struct request; } namespace service { class storage_service; } namespace api { struct http_context; void set_tasks_compaction_module(http_context& ctx, httpd::routes& r, sharded& ss, sharded& snap_ctl); void unset_tasks_compaction_module(http_context& ctx, httpd::routes& r); future force_keyspace_compaction(http_context& ctx, std::unique_ptr req); future force_keyspace_cleanup(http_context& ctx, sharded& ss, std::unique_ptr req); future upgrade_sstables(http_context& ctx, std::unique_ptr req, sstring keyspace, std::vector table_infos); }