memgraph/src/distributed
florijan 03f1547a8d Invalidate distributed plan caches
Summary:
 - Remove caches on workers as a result of plan expiration or race
   during insertion.
 - Extract caching functionality into a class.
 - Minor refactor of Interpreter::operator()
 - New RPC and test for it.
 - Rename ConsumePlanRes to DispatchPlanRes for consistency, remove
   return value as it's always true and never used.
 - Interpreter is now constructed with a `GraphDb` reference. At the
   moment only for reaching the `distributed::PlanDispatcher`, but in
   the future we should probably use that primarily for planning.

I added a function to `PlanConsumer` that is only used for testing.
I prefer not doing this, but I felt this needed testing. I can remove
it now if you like.

Reviewers: teon.banek, msantl

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1292
2018-03-13 14:59:51 +01:00
..
coordination_master.cpp Refactor RPC 2018-02-23 12:07:22 +01:00
coordination_master.hpp Refactor RPC 2018-02-23 12:07:22 +01:00
coordination_rpc_messages.hpp Refactor RPC 2018-02-23 12:07:22 +01:00
coordination_worker.cpp Refactor RPC 2018-02-23 12:07:22 +01:00
coordination_worker.hpp Refactor RPC 2018-02-23 12:07:22 +01:00
coordination.hpp Use RemoteCreateVertex in CreateNode operator 2018-02-21 12:17:43 +01:00
index_rpc_messages.hpp Refactor RPC 2018-02-23 12:07:22 +01:00
index_rpc_server.hpp Refactor RPC 2018-02-23 12:07:22 +01:00
plan_consumer.cpp Invalidate distributed plan caches 2018-03-13 14:59:51 +01:00
plan_consumer.hpp Invalidate distributed plan caches 2018-03-13 14:59:51 +01:00
plan_dispatcher.cpp Invalidate distributed plan caches 2018-03-13 14:59:51 +01:00
plan_dispatcher.hpp Invalidate distributed plan caches 2018-03-13 14:59:51 +01:00
plan_rpc_messages.hpp Invalidate distributed plan caches 2018-03-13 14:59:51 +01:00
remote_cache.hpp Support distributed edge removal 2018-02-28 14:35:40 +01:00
remote_data_manager.hpp Support distributed edge removal 2018-02-28 14:35:40 +01:00
remote_data_rpc_clients.hpp Use the same ClientPools in distributed 2018-03-01 17:14:59 +01:00
remote_data_rpc_messages.hpp Refactor RPC 2018-02-23 12:07:22 +01:00
remote_data_rpc_server.hpp Refactor RPC 2018-02-23 12:07:22 +01:00
remote_produce_rpc_server.hpp Fix RemoteProduceRpcServer OngoingProduce 2018-03-06 16:11:33 +01:00
remote_pull_produce_rpc_messages.hpp Enable transaction killer on worker 2018-03-05 12:45:42 +01:00
remote_pull_rpc_clients.hpp Use custom future that waits on destruct 2018-03-09 10:16:17 +01:00
remote_updates_rpc_clients.hpp Use custom future that waits on destruct 2018-03-09 10:16:17 +01:00
remote_updates_rpc_messages.hpp DetachRemoveVertex remote 2018-03-02 10:51:26 +01:00
remote_updates_rpc_server.hpp DetachRemoveVertex remote 2018-03-02 10:51:26 +01:00
rpc_worker_clients.hpp Use custom future that waits on destruct 2018-03-09 10:16:17 +01:00
serialization.hpp Extract address types 2018-02-15 17:31:10 +01:00
transactional_cache_cleaner.hpp Refactor distributed transactional cache GC 2018-02-27 10:47:58 +01:00