Fixes root cause of a cascade of failures in replication code:
- Replica handling of deleting an edge is now corrected. Now tolerant of multiple edges of the same relationship type.
- Improved robustness: correct exception handling around failed stream of current WAL file. This now means a REPLICA failure will no longer prevent transactions on MAIN from performing WAL writes.
- Slightly better diagnostic messages, not user friendly but helps get developer to correct root cause quicker.
- Proactively remove vertex+edges during Abort rather than defer to GC to do that work, this included fixing constraints and indexes to be safe.
Co-authored-by: Andreja Tonev <andreja.tonev@memgraph.io>
Framework to run end-to-end tests against Memgraph.
Notes
If you change something under this directory and below (even a Python
script), make has to be run again because all tests are copied to the build
directory and executed from there.
Use/extend run.sh if you run any e2e tests:
if all tests have to executed, use run.sh
if a suite of tests have to be execute, take a look under run.sh how to do so
if only a single test have to be execute, take a look at each individual binary/script, it's possible to manually pick the test