memgraph/tests
Marko Culinovic 4b9970ccf8 Save and load pointers in ast capnp serialization
Summary:
Pointers in AstTreeStorage can point to same nodes. These nodes
should be serialized(saved) only once when serializing Ast tree.
Same goes for deserializing(loading).
When deserializing nodes, one should not use storage Create method,
because it will add node which isn't completely loaded to storage vector.
Therefore, one should use new Deserialize method which doesn't
add node to storage vector. Inserting node into storage vector
is defered until all node data is loaded.

Pass pointer to saved uids set, instead of storage

Delete unused set

Reviewers: teon.banek, msantl

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1344
2018-05-04 09:50:34 +02:00
..
benchmark Benchmark Cap'n Proto and boost serialization 2018-05-02 12:38:18 +02:00
concurrent Clean SkipList up 2018-04-11 10:08:20 +02:00
distributed Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00
drivers Add C# driver test examples 2017-11-10 15:46:56 +01:00
macro_benchmark Remove PostgreSQL 2018-03-28 15:38:54 +02:00
manual Add rocksdb as a lib + initial implementation of the KVStore 2018-04-28 13:19:09 +02:00
property_based Refactor GraphDb 2018-01-12 16:47:24 +01:00
public_benchmark Refactor Apollo build projects 2018-03-27 13:47:18 +02:00
qa Football demo tck tests and tech docs 2018-04-16 12:06:32 +02:00
stress Add durability stress test 2018-04-22 08:32:44 +02:00
unit Save and load pointers in ast capnp serialization 2018-05-04 09:50:34 +02:00
apollo_runs.py Refactor Apollo build projects 2018-03-27 13:47:18 +02:00
client-stress.sh Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00
CMakeLists.txt Inline test data in the benchmark tests itself 2018-01-15 16:12:30 +01:00