mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
locator: Move rack_list to topology.hh
So that we can use it in locator/tablets.hh and avoid circular dependency between that header and abstract_replication_strategy.hh
This commit is contained in:
@@ -45,8 +45,6 @@ enum class replication_strategy_type {
|
||||
everywhere_topology,
|
||||
};
|
||||
|
||||
using rack_list = std::vector<sstring>;
|
||||
|
||||
using replication_strategy_config_option = std::variant<sstring, rack_list>;
|
||||
using replication_strategy_config_options = std::map<sstring, replication_strategy_config_option>;
|
||||
|
||||
|
||||
@@ -40,6 +40,8 @@ using node_holder = std::unique_ptr<node>;
|
||||
|
||||
using shard_id = seastar::shard_id;
|
||||
|
||||
using rack_list = std::vector<sstring>;
|
||||
|
||||
class node {
|
||||
public:
|
||||
using this_node = bool_class<struct this_node_tag>;
|
||||
|
||||
Reference in New Issue
Block a user