Small replication fixes (#59)
* Set state to invalid after exception * Add proper locking * Start background replicating only if in valid state * Freeze transaction timestamp on replica * Timeout fixes * Fix Jepsen run script * Disable perf checker and enable nemesis * Add documentation for some chunks of code * Decrease timeout so main doesn't hang on network partitions too long
This commit is contained in:
committed by
Antonio Andelic
parent
bff9cf07de
commit
adc355a22a
4
.github/workflows/diff.yaml
vendored
4
.github/workflows/diff.yaml
vendored
@@ -324,7 +324,7 @@ jobs:
|
||||
release_jepsen_test:
|
||||
name: "Release Jepsen Test"
|
||||
runs-on: [self-hosted, Linux, X64, Debian10, JepsenControl]
|
||||
continue-on-error: true
|
||||
#continue-on-error: true
|
||||
env:
|
||||
THREADS: 24
|
||||
|
||||
@@ -356,7 +356,7 @@ jobs:
|
||||
# NOTE: docker exec -t is NOT ok because gh user does NOT have TTY.
|
||||
# NOTE: ~/.bashrc has to be manually sourced when bash -c is used
|
||||
# because some Jepsen config is there.
|
||||
docker exec jepsen-control bash -c "source ~/.bashrc && cd memgraph && lein run test-all --local-binary /opt/memgraph/memgraph --node n1"
|
||||
docker exec jepsen-control bash -c "source ~/.bashrc && cd memgraph && lein run test-all --local-binary /opt/memgraph/memgraph --node-configs resources/node-config.edn"
|
||||
docker exec jepsen-control bash -c 'tar -czvf /jepsen/memgraph/Jepsen.tar.gz $(readlink -f /jepsen/memgraph/store/latest)'
|
||||
docker cp jepsen-control:/jepsen/memgraph/Jepsen.tar.gz ./
|
||||
|
||||
|
||||
Reference in New Issue
Block a user