memgraph/tests
Matija Santl da95cbf4ec Add log compaction for Raft, pt. 1
Summary:
In this part of log compaction for raft, I've implemented snapshooting
and snapshot recovery. I've also refactored the code a bit, so `RaftServer` now
has a pointer to the `GraphDb` and it can do some things by itself.

Log compaction requires some further work. Since snapshooting isn't synchronous
between peers, and each peer can work at their own pace, once we've compacted
the log so that the next log to be sent to peer `x` isn't available anymore, we
need to send the snapshot over the wire. This means that the next part will
contain the `InstallSnapshotRPC` and then maybe one more that will implement the
logic of sending `LogEntry` or the whole snapshot.

Reviewers: ipaljak

Reviewed By: ipaljak

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1834
2019-01-29 14:58:57 +01:00
..
benchmark Output profiling data within the summary in JSON format 2019-01-17 13:54:06 +01:00
concurrent Remove unused variables 2019-01-15 15:30:34 +01:00
distributed Fix distributed tests exit code 2018-11-07 22:46:55 +01:00
drivers Integrate driver tests with Apollo 2018-08-22 18:31:37 +02:00
feature_benchmark Add log compaction for Raft, pt. 1 2019-01-29 14:58:57 +01:00
integration Add log compaction for Raft, pt. 1 2019-01-29 14:58:57 +01:00
macro_benchmark Fix parallel macro benchmarks 2018-11-06 16:49:12 +01:00
manual Fix Raft's ReplicationLog 2019-01-23 16:27:51 +01:00
property_based Remove virtual and pimpl from single node 2018-10-09 11:48:30 +02:00
public_benchmark Update LDBC query implementation 2018-07-10 10:08:21 +02:00
qa Refactor QA 2018-12-04 12:33:48 +01:00
stress Polish Bolt client and mg_client 2018-10-19 13:55:51 +02:00
unit Include JSON serialized logical plan in summary for EXPLAIN 2019-01-25 17:01:17 +01:00
apollo_runs.py Add LCP tests 2018-10-15 11:52:20 +02:00
client-stress.sh Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00
CMakeLists.txt Add kafka benchmark 2018-08-29 16:35:31 +02:00