diff --git a/src/coordinator/coordinator.hpp b/src/coordinator/coordinator.hpp index 76bd7027f..787248f5d 100644 --- a/src/coordinator/coordinator.hpp +++ b/src/coordinator/coordinator.hpp @@ -90,8 +90,6 @@ class Coordinator { using StandbySotrageEnginePool = std::unordered_set
; ShardMap shard_map_; - // StandbySotrageEnginePool storage_engine_pool_; - /// The highest reserved timestamp / highest allocated timestamp /// is a way for minimizing communication involved in query engines /// reserving Hlc's for their transaction processing. @@ -158,9 +156,6 @@ class Coordinator { WriteResponses Apply(RegisterStorageEngineRequest &®ister_storage_engine_request) { RegisterStorageEngineResponse res{}; // TODO - // const Address &address = register_storage_engine_request.address; - // storage_engine_pool_.insert(address); - // res.success = true; return res; } diff --git a/src/coordinator/shard_map.hpp b/src/coordinator/shard_map.hpp index 68c387eec..7e20da565 100644 --- a/src/coordinator/shard_map.hpp +++ b/src/coordinator/shard_map.hpp @@ -33,6 +33,8 @@ struct AddressAndStatus { Status status; }; +using memgraph::io::Address; + using CompoundKey = std::vector