53c405c699
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 |
||
---|---|---|
.. | ||
snapshot_generation | ||
antlr_parser.cpp | ||
antlr_sigsegv.cpp | ||
antlr_tree_pretty_print.cpp | ||
binomial.cpp | ||
bolt_client.cpp | ||
card_fraud_generate_snapshot.cpp | ||
card_fraud_local.cpp | ||
CMakeLists.txt | ||
distributed_common.hpp | ||
distributed_repl.cpp | ||
endinan.cpp | ||
generate_snapshot.cpp | ||
graph_500_generate_snapshot.cpp | ||
kvstore_console.cpp | ||
query_hash.cpp | ||
query_planner.cpp | ||
repl.cpp | ||
single_query.cpp | ||
sl_position_and_count.cpp | ||
snapshot_explorer.cpp | ||
ssl_client.cpp | ||
ssl_server.cpp | ||
stripped_timing.cpp | ||
test_antlr_sigsegv | ||
wal_explorer.cpp | ||
xorshift.cpp |