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
53 lines
1.7 KiB
YAML
53 lines
1.7 KiB
YAML
- name: integration__telemetry
|
|
cd: telemetry
|
|
commands: TIMEOUT=200 ./runner.py
|
|
infiles:
|
|
- runner.py # runner script
|
|
- server.py # server script
|
|
- ../../../build_debug/tests/integration/telemetry/client # client binary
|
|
- ../../../build_debug/tests/manual/kvstore_console # kvstore console binary
|
|
|
|
- name: integration__ssl
|
|
cd: ssl
|
|
commands: ./runner.sh
|
|
infiles:
|
|
- runner.sh # runner script
|
|
- ../../../build_debug/tests/integration/ssl/tester # tester binary
|
|
enable_network: true
|
|
|
|
- name: integration__transactions
|
|
cd: transactions
|
|
commands: ./runner.sh
|
|
infiles:
|
|
- runner.sh # runner script
|
|
- ../../../build_debug/memgraph # memgraph binary
|
|
- ../../../build_debug/tests/integration/transactions/tester # tester binary
|
|
|
|
- name: integration__kafka
|
|
cd: kafka
|
|
commands: ./runner.sh
|
|
infiles:
|
|
- runner.sh # runner script
|
|
- transform.py # transform script
|
|
- ../../../build_debug/memgraph # memgraph binary
|
|
- ../../../build_debug/kafka.py # kafka script
|
|
- ../../../build_debug/tests/integration/kafka/tester # tester binary
|
|
enable_network: true
|
|
|
|
- name: integration__auth
|
|
cd: auth
|
|
commands: TIMEOUT=820 ./runner.py
|
|
infiles:
|
|
- runner.py # runner script
|
|
- ../../../build_debug/memgraph # memgraph binary
|
|
- ../../../build_debug/tests/integration/auth/checker # checker binary
|
|
- ../../../build_debug/tests/integration/auth/tester # tester binary
|
|
|
|
- name: integration__distributed
|
|
cd: distributed
|
|
commands: TIMEOUT=480 ./runner.py
|
|
infiles:
|
|
- runner.py # runner script
|
|
- ../../../build_debug/memgraph # memgraph binary
|
|
- ../../../build_debug/tests/integration/distributed/tester # tester binary
|