Remove redundant ShardMap copy from MachineManager to avoid race conditions

This commit is contained in:
Tyler Neely
2022-10-31 16:49:46 +00:00
parent 59c7d81ae8
commit 2f77eb96ff
9 changed files with 36 additions and 26 deletions

View File

@@ -658,8 +658,7 @@ int main(int argc, char **argv) {
memgraph::coordinator::Coordinator coordinator{sm};
memgraph::machine_manager::MachineManager<memgraph::io::local_transport::LocalTransport> mm{io, config, coordinator,
sm};
memgraph::machine_manager::MachineManager<memgraph::io::local_transport::LocalTransport> mm{io, config, coordinator};
std::jthread mm_thread([&mm] { mm.Run(); });
memgraph::query::v2::InterpreterContext interpreter_context{