memgraph/src
Matija Santl 4fa44c3edd Fix Raft's ReplicationLog
Summary:
`ReplicationLog` had a classic off-by-one bug. The `valid_prefix`
variable wasn't set properly.

This diff also includes a poor man's version of a HA client. This client
assumes that all the HA instances run on a single machine and that the
corresponding Bold endpoints have open ports ranging from `7687` to
`7687 + num_machines - 1`.

This should make it easeir to test certain things, ie. disk usage, P25.

This test revealed the bug with `ReplicationLog`

Reviewers: ipaljak

Reviewed By: ipaljak

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1813
2019-01-23 16:27:51 +01:00
..
auth Refactor storage file structure 2018-11-06 18:17:31 +01:00
communication Implement new spin lock 2019-01-08 09:15:07 +01:00
data_structures Implement new spin lock 2019-01-08 09:15:07 +01:00
database Fix re-election in Raft 2019-01-22 14:51:24 +01:00
distributed Cleanup query/context.hpp 2019-01-17 10:21:34 +01:00
durability Fix single node snapshot layout documentation 2019-01-11 11:06:12 +01:00
glue Refactor storage file structure 2018-11-06 18:17:31 +01:00
integrations Refactor storage file structure 2018-11-06 18:17:31 +01:00
io Serialize Endpoint via SLK 2018-12-03 09:32:25 +01:00
lisp Implement plan cloning with LCP 2019-01-22 14:52:06 +01:00
query Use plan rewrite hook to generate DistributedPlan 2019-01-23 10:48:03 +01:00
raft Fix Raft's ReplicationLog 2019-01-23 16:27:51 +01:00
requests Implement kafka transform functionality 2018-07-19 12:52:25 +02:00
stats Serialize StateDelta for HA 2018-11-12 13:36:11 +01:00
storage Fix filtering of edges by edge type and destination 2019-01-14 17:31:40 +01:00
telemetry Refactor storage file structure 2018-11-06 18:17:31 +01:00
transactions Fix re-election in Raft 2019-01-22 14:51:24 +01:00
utils Add logarithmic functions 2019-01-17 14:26:16 +01:00
CMakeLists.txt Clone AST using LCP 2019-01-18 13:24:40 +01:00
config.hpp Make csv_to_snapshot more user friendly 2017-10-26 09:37:56 +02:00
memgraph_distributed.cpp Fix distributed startup and QA test 2018-10-18 10:34:05 +02:00
memgraph_ha.cpp Prepare memgraph for HA 2018-11-22 15:07:39 +01:00
memgraph_init.cpp Throw exceptions on RPC failure and Distributed error handling 2018-09-27 16:27:40 +02:00
memgraph_init.hpp Separate distributed from single node storage 2018-10-05 09:19:33 +02:00
memgraph.cpp Add explicit start to servers 2018-10-16 11:39:42 +02:00
version.hpp.in Add version.hpp.in and display it on '--version' flag 2017-09-27 09:04:44 +02:00