Since table_state is a view to a compaction group, it makes sense to rename it as so. With upcoming incremental repair, each replica::compaction_group will be actually two compaction groups, so there will be two views for each replica::compaction_group. Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com>
25 lines
427 B
C++
25 lines
427 B
C++
/*
|
|
* Copyright (C) 2023-present ScyllaDB
|
|
*
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <seastar/core/shared_ptr.hh>
|
|
|
|
#include "dht/i_partitioner_fwd.hh"
|
|
|
|
namespace compaction {
|
|
|
|
class compaction_group_view;
|
|
class strategy_control;
|
|
struct compaction_state;
|
|
|
|
using owned_ranges_ptr = seastar::lw_shared_ptr<const dht::token_range_vector>;
|
|
|
|
} // namespace compaction
|