migration_manager: remove dependency on messaging_service.hh in header
Use the new msg_addr.hh header to remove a dependency on messaging_service.hh.
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
|
||||
#include "locator/gossiping_property_file_snitch.hh"
|
||||
#include "gms/versioned_value.hh"
|
||||
#include "message/msg_addr.hh"
|
||||
#include "message/messaging_service.hh"
|
||||
|
||||
namespace locator {
|
||||
future<bool> gossiping_property_file_snitch::property_file_was_modified() {
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include "db/schema_tables.hh"
|
||||
#include "core/distributed.hh"
|
||||
#include "gms/inet_address.hh"
|
||||
#include "message/messaging_service.hh"
|
||||
#include "message/msg_addr.hh"
|
||||
#include "utils/UUID.hh"
|
||||
#include "utils/serialized_action.hh"
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace service {
|
||||
|
||||
class migration_manager : public seastar::async_sharded_service<migration_manager> {
|
||||
std::vector<migration_listener*> _listeners;
|
||||
std::unordered_map<netw::messaging_service::msg_addr, serialized_action, netw::messaging_service::msg_addr::hash> _schema_pulls;
|
||||
std::unordered_map<netw::msg_addr, serialized_action, netw::msg_addr::hash> _schema_pulls;
|
||||
static const std::chrono::milliseconds migration_delay;
|
||||
public:
|
||||
migration_manager();
|
||||
|
||||
Reference in New Issue
Block a user