Open-source graph database, built for real-time streaming data, compatible with Neo4j.
Go to file
Matej Ferencevic 84a6ab75cb Fix race condition in long running stress test
Summary:
The long running stress test had a subtle race condition which caused the test
to fail with an error message like "Runner X edges creation failed because of:
Can't serialize due to concurrent operations.". This situation was caused
because some workers could complete their initialization (initial vertex and
edge creation) before other workers. The workers that completed their
initialization would then proceed to execute the test. In the test they could
execute queries that make global updates on the graph that could interfere with
the concurrently running initialization queries of other workers.

This diff makes the runners wait until all initialization queries are fully
executed before they execute global operations on the graph.

Reviewers: teon.banek

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D2647
2020-01-29 10:19:53 +01:00
cmake Migrate LDAP integration to auth module 2019-09-11 17:15:08 +02:00
config Enable properties on edges by default in package 2019-12-09 16:38:36 +01:00
customers Implement manage script for card fraud demo 2018-02-12 13:29:12 +01:00
docs Add a feature spec for Python Query Modules 2020-01-23 17:10:23 +01:00
environment Migrate to Clang 8 2019-04-19 12:34:50 +02:00
experimental Integrate code coverage with Apollo 2018-01-15 12:20:11 +01:00
include Update mgp_result_new_record documentation 2019-11-28 14:58:46 +01:00
libs Remove Kafka integration implementation and tests 2019-11-04 09:56:07 +01:00
poc Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00
query_modules Write query_modules/example.c as example.py 2020-01-28 14:29:50 +01:00
release Fix examples build 2019-12-09 16:01:28 +01:00
src Make audit a standalone library 2020-01-28 16:37:07 +01:00
tests Fix race condition in long running stress test 2020-01-29 10:19:53 +01:00
tools Stop building storage v1 2020-01-13 14:18:12 +01:00
.arcconfig arcconfig: Default to master for diff and land 2017-11-07 18:41:51 +01:00
.arclint Add basic support for arc lint with clang-tidy 2019-04-23 15:51:36 +02:00
.clang-format Edges data structure now supports multiple edge filtering (implicit OR) 2017-09-26 13:46:18 +02:00
.clang-tidy Add .clang-tidy for tests and update the config 2019-10-31 16:07:09 +01:00
.gdbinit Add pretty printer to gdb for TypedValue 2017-08-16 11:32:25 +02:00
.gitignore Reimplement counter openCypher function 2019-05-16 11:09:02 +02:00
.ycm_extra_conf.py Add kafka library and integrate it into memgraph 2018-07-06 15:52:23 +02:00
apollo_archives.py Refactor Apollo build projects 2018-03-27 13:47:18 +02:00
apollo_archives.yaml Temporarily disable HA build and tests 2020-01-13 17:04:27 +01:00
apollo_build.yaml Remove distributed 2019-07-17 15:23:42 +02:00
CHANGELOG.md Add changelog for version 0.50 2019-12-10 16:47:11 +01:00
CMakeLists.txt Add changelog for version 0.50 2019-12-10 16:47:11 +01:00
Doxyfile Add initial version of Apollo config files 2018-01-10 14:46:10 +01:00
Doxylogo.png Doxygen setup 2016-12-20 15:49:52 +01:00
init Replace hardcoded configuration with generator 2019-12-09 13:51:10 +01:00
README.md Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00

memgraph

Memgraph is an ACID compliant high performance transactional distributed in-memory graph database featuring runtime native query compiling, lock free data structures, multi-version concurrency control and asynchronous IO.

dependencies

Memgraph can be compiled using any modern c++ compiler. It mostly relies on the standard template library, however, some things do require external libraries.

Some code contains linux-specific libraries and the build is only supported on a 64 bit linux kernel.

  • linux
  • clang 3.8 (good c++11 support, especially lock free atomics)
  • antlr (compiler frontend)
  • cppitertools
  • fmt format
  • google benchmark
  • google test
  • glog
  • gflags