Open-source graph database, built for real-time streaming data, compatible with Neo4j.
cyphergraphgraph-algorithmsgraph-analysisgraph-databasekafkakafka-streamsnosqlopencypherstream-processingstreaming-data
Summary: Instead of calling the wanted method, this diff takes copies of both `is_replicated(x)` and `is_active(x)` results so that they can't change during the method execution. The problem with the previous implementation was that the information about a log could change during two consecutive queries as ilustrated in the example below. ``` Thread 1 Thread2 rlog->set_active(1); if (rlog->is_replicated(1)) return true; rlog->set_replicated(1); if (rlog->is_active(1)) return false; throw InvalidLogReplicationLookup(); ``` The snippet above would throw as we don't have any information about the log `1`, because the `set_replicated` call would "shadow" the active bit. Reviewers: ipaljak Reviewed By: ipaljak Subscribers: pullbot, mferencevic Differential Revision: https://phabricator.memgraph.io/D2165 |
||
---|---|---|
cmake | ||
config | ||
customers | ||
docs | ||
environment | ||
experimental | ||
libs | ||
poc | ||
release | ||
src | ||
tests | ||
tools | ||
.arcconfig | ||
.arclint | ||
.clang-format | ||
.clang-tidy | ||
.gdbinit | ||
.gitignore | ||
.ycm_extra_conf.py | ||
apollo_archives.py | ||
apollo_archives.yaml | ||
apollo_build.yaml | ||
CHANGELOG.md | ||
CMakeLists.txt | ||
Doxyfile | ||
Doxylogo.png | ||
init | ||
README.md |
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