memgraph/tests/manual
Teon Banek e0474a8e92 Replace boost with capnp in RPC
Summary:
Converts the RPC stack to use Cap'n Proto for serialization instead of
boost. There are still some traces of boost in other places in the code,
but most of it is removed. A future diff should cleanup boost for good.

The RPC API is now changed to be more flexible with regards to how
serialize data. This makes the simplest cases a bit more verbose, but
allows complex serialization code to be correctly written instead of
relying on hacks. (For reference, look for the old serialization of
`PullRpc` which had a nasty pointer hacks to inject accessors in
`TypedValue`.)

Since RPC messages were uselessly modeled via inheritance of Message
base class, that class is now removed. Furthermore, that approach
doesn't really work with Cap'n Proto. Instead, each message type is
required to have some type information. This can be automated, so
`define-rpc` has been added to LCP, which hopefully simplifies defining
new RPC request and response messages.

Specify Cap'n Proto schema ID in cmake

This preserves Cap'n Proto generated typeIds across multiple generations
of capnp schemas through LCP. It is imperative that typeId stays the
same to ensure that different compilations of Memgraph may communicate
via RPC in a distributed cluster.

Use CLOS for meta information on C++ types in LCP

Since some structure slots and functions have started to repeat
themselves, it makes sense to model C++ meta information via Common Lisp
Object System.

Depends on D1391

Reviewers: buda, dgleich, mferencevic, mtomic, mculinovic, msantl

Reviewed By: msantl

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1407
2018-06-04 10:45:12 +02:00
..
snapshot_generation Add rocksdb as a lib + initial implementation of the KVStore 2018-04-28 13:19:09 +02:00
antlr_parser.cpp youcompleteme config has been added to the repo 2017-02-20 14:17:41 +01:00
antlr_sigsegv.cpp Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00
antlr_tree_pretty_print.cpp Implement expression code generator 2017-03-08 14:10:16 +01:00
binomial.cpp Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00
bolt_client.cpp Extract utils into mg-utils static library and explicitly list tests 2018-05-30 09:41:56 +02:00
card_fraud_generate_snapshot.cpp Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00
card_fraud_local.cpp Extract io/network into mg-io library 2018-05-30 14:58:41 +02:00
CMakeLists.txt Extract utils into mg-utils static library and explicitly list tests 2018-05-30 09:41:56 +02:00
distributed_common.hpp Invalidate distributed plan caches 2018-03-13 14:59:51 +01:00
distributed_repl.cpp Two phase commit on cursor destruction 2018-04-03 16:20:00 +02:00
endinan.cpp examples folder has been removed; src/test folder has been removed; the existing tests were moved to tests folder; StacktraceException has been introduced; query_plan_templated has been moved to query folder; hazard pointers have been deleted because they are not used any more 2017-02-18 18:03:48 +01:00
generate_snapshot.cpp Refactor snapshot generators to reduce code duplication 2018-03-22 17:27:45 +01:00
graph_500_generate_snapshot.cpp Distributed BFS 2018-05-15 17:38:51 +02:00
kvstore.cpp Add rocksdb as a lib + initial implementation of the KVStore 2018-04-28 13:19:09 +02:00
query_hash.cpp Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00
query_planner.cpp Fix and rename REPL 2018-03-08 10:58:43 +01:00
raft_rpc.cpp Replace boost with capnp in RPC 2018-06-04 10:45:12 +02:00
repl.cpp Fix and rename REPL 2018-03-08 10:58:43 +01:00
single_query.cpp Invalidate distributed plan caches 2018-03-13 14:59:51 +01:00
sl_position_and_count.cpp GraphDbAccessor - label+property index cardinalities for exact value and value ranges 2017-07-06 10:22:19 +02:00
stripped_timing.cpp Add AST cache 2017-06-14 18:59:31 +02:00
test_antlr_sigsegv Added antlr sigsegv test. 2017-08-03 13:06:18 +02:00
xorshift.cpp Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00