memgraph/src/communication
florijan 9721ccf61c Cleanup per-transaction caches in distributed
Summary:
On the master cleanups are hooked directly into the transaction engine.
This is beneficial because the master might have bigger caches and we
want to clear them as soon as possible.

On the workers there is a periodic RPC call to the master about living
transactions, which takes care of releasing local caches. This is
suboptimal because long transactions will prevent cache GC (like with
data GC). It is however fairly simple.

Note that all cleanup is not done automatically and `RemotePull` has
been reduced accordingly. @msantl, please verify correctness and
consider if the code can be additionally simplified.

Reviewers: teon.banek, msantl

Reviewed By: msantl

Subscribers: pullbot, msantl

Differential Revision: https://phabricator.memgraph.io/D1202
2018-02-16 15:30:05 +01:00
..
bolt Support snapshot creation and recovery in distributed 2018-01-29 19:16:13 +01:00
raft RPC refactor 2018-01-24 15:27:40 +01:00
rpc Cleanup per-transaction caches in distributed 2018-02-16 15:30:05 +01:00
result_stream_faker.hpp Add single query manual test 2017-11-23 14:51:46 +01:00
server.hpp Fix RPC network server segfault 2018-01-24 17:37:01 +01:00
worker.hpp Fix RPC network server segfault 2018-01-24 17:37:01 +01:00