memgraph/tests/integration
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
..
auth Polish Bolt client and mg_client 2018-10-19 13:55:51 +02:00
dgp Add dgp integration test 2018-09-08 00:01:03 +01:00
distributed Fix integration distributed test flakiness 2018-10-26 10:17:23 +02:00
ha_basic Add log compaction for Raft, pt. 1 2019-01-29 14:58:57 +01:00
kafka Polish Bolt client and mg_client 2018-10-19 13:55:51 +02:00
ssl Add explicit start to servers 2018-10-16 11:39:42 +02:00
telemetry Reduce telemetry test flakiness 2018-10-18 14:29:13 +02:00
transactions Polish Bolt client and mg_client 2018-10-19 13:55:51 +02:00
apollo_runs.yaml Extend raft integration test 2019-01-14 17:26:25 +01:00
CMakeLists.txt Add automated test for Raft 2019-01-14 13:41:36 +01:00