memgraph/tests/manual
Matej Ferencevic 53c405c699 Throw exceptions on RPC failure and Distributed error handling
Summary:
This diff changes the RPC layer to directly return `TResponse` to the user when
issuing a `Call<...>` RPC call. The call throws an exception on failure
(instead of the previous return `nullopt`).

All servers (network, RPC and distributed) are set to have explicit `Shutdown`
methods so that a controlled shutdown can always be performed. The object
destructors now have `CHECK`s to enforce that the `AwaitShutdown` methods were
called.

The distributed memgraph is changed that none of the binaries (master/workers)
crash when there is a communication failure. Instead, the whole cluster starts
a graceful shutdown when a persistent communication error is detected.
Transient errors are allowed during execution. The transaction that errored out
will be aborted on the whole cluster. The cluster state is managed using a new
Heartbeat RPC call.

Reviewers: buda, teon.banek, msantl

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1604
2018-09-27 16:27:40 +02:00
..
snapshot_generation Add magic number to WAL and fix version consistency check 2018-08-29 16:53:10 +02:00
antlr_parser.cpp Separate auth/stream queries from rest of cypher 2018-07-30 12:29:36 +02:00
antlr_sigsegv.cpp Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00
antlr_tree_pretty_print.cpp Separate auth/stream queries from rest of cypher 2018-07-30 12:29:36 +02:00
binomial.cpp Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00
bolt_client.cpp Implement SSL support for servers and clients 2018-06-20 17:56:47 +02:00
card_fraud_generate_snapshot.cpp Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00
card_fraud_local.cpp Throw exceptions on RPC failure and Distributed error handling 2018-09-27 16:27:40 +02:00
CMakeLists.txt Throw exceptions on RPC failure and Distributed error handling 2018-09-27 16:27:40 +02:00
distributed_common.hpp Throw exceptions on RPC failure and Distributed error handling 2018-09-27 16:27:40 +02:00
distributed_repl.cpp Throw exceptions on RPC failure and Distributed error handling 2018-09-27 16:27:40 +02:00
endinan.cpp examples folder has been removed; src/test folder has been removed; the existing tests were moved to tests folder; StacktraceException has been introduced; query_plan_templated has been moved to query folder; hazard pointers have been deleted because they are not used any more 2017-02-18 18:03:48 +01:00
generate_snapshot.cpp Refactor snapshot generators to reduce code duplication 2018-03-22 17:27:45 +01:00
graph_500_generate_snapshot.cpp Distributed BFS 2018-05-15 17:38:51 +02:00
kvstore_console.cpp Initial implementation of telemetry 2018-06-20 14:49:07 +02:00
query_hash.cpp Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00
query_planner.cpp Extract pretty printing for distributed 2018-09-24 17:02:16 +02:00
repl.cpp Extract distributed interpretation out of Interpreter 2018-08-27 09:31:39 +02:00
single_query.cpp Extract distributed interpretation out of Interpreter 2018-08-27 09:31:39 +02:00
sl_position_and_count.cpp GraphDbAccessor - label+property index cardinalities for exact value and value ranges 2017-07-06 10:22:19 +02:00
snapshot_explorer.cpp Add magic number to WAL and fix version consistency check 2018-08-29 16:53:10 +02:00
ssl_client.cpp Implement SSL support for servers and clients 2018-06-20 17:56:47 +02:00
ssl_server.cpp Throw exceptions on RPC failure and Distributed error handling 2018-09-27 16:27:40 +02:00
stripped_timing.cpp Add AST cache 2017-06-14 18:59:31 +02:00
test_antlr_sigsegv Added antlr sigsegv test. 2017-08-03 13:06:18 +02:00
wal_explorer.cpp Add magic number to WAL and fix version consistency check 2018-08-29 16:53:10 +02:00
xorshift.cpp Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00