Summary:
This change introduces a pure virtual initial implementation of the transaction
engine which is then implemented in two versions: single node and distributed.
The interface classes now have the following hierarchy:
```
Engine (pure interface)
|
+----+---------- EngineDistributed (common logic)
| |
EngineSingleNode +-------+--------+
| |
EngineMaster EngineWorker
```
In addition to this layout the `EngineMaster` uses `EngineSingleNode` as its
underlying storage engine and only changes the necessary functions to make
them work with the `EngineWorker`.
After this change I recommend that you delete the following leftover files:
```
rm src/distributed/transactional_cache_cleaner_rpc_messages.*
rm src/transactions/common.*
rm src/transactions/engine_rpc_messages.*
```
Reviewers: teon.banek, msantl, buda
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D1589
76 lines
1.8 KiB
Plaintext
76 lines
1.8 KiB
Plaintext
*.breakpoint
|
|
*.data
|
|
*.dSYM/
|
|
*.o
|
|
*.out
|
|
*.pyc
|
|
*.session.yaml
|
|
*.so
|
|
*.swn
|
|
*.swo
|
|
*.swp
|
|
*~
|
|
.DS_Store
|
|
.gdb_history
|
|
.idea
|
|
.ycm_extra_conf.pyc
|
|
.temp/
|
|
Testing/
|
|
build
|
|
build/
|
|
release/examples/build
|
|
cmake-build-*
|
|
cmake/DownloadProject/
|
|
dist/
|
|
src/query/frontend/opencypher/generated/
|
|
tags
|
|
ve/
|
|
ve3/
|
|
perf.data*
|
|
TAGS
|
|
*.apollo_measurements
|
|
|
|
# Lisp compiled object code
|
|
*.fas
|
|
*.fasl
|
|
|
|
# Cap'n Proto generated files
|
|
*.capnp.c++
|
|
*.capnp.h
|
|
|
|
# LCP generated C++ & Cap'n Proto files
|
|
*.lcp.cpp
|
|
src/database/counters_rpc_messages.capnp
|
|
src/database/counters_rpc_messages.hpp
|
|
src/database/state_delta.capnp
|
|
src/database/state_delta.hpp
|
|
src/distributed/bfs_rpc_messages.capnp
|
|
src/distributed/bfs_rpc_messages.hpp
|
|
src/distributed/coordination_rpc_messages.capnp
|
|
src/distributed/coordination_rpc_messages.hpp
|
|
src/distributed/data_rpc_messages.capnp
|
|
src/distributed/data_rpc_messages.hpp
|
|
src/distributed/durability_rpc_messages.capnp
|
|
src/distributed/durability_rpc_messages.hpp
|
|
src/distributed/index_rpc_messages.capnp
|
|
src/distributed/index_rpc_messages.hpp
|
|
src/distributed/plan_rpc_messages.capnp
|
|
src/distributed/plan_rpc_messages.hpp
|
|
src/distributed/pull_produce_rpc_messages.capnp
|
|
src/distributed/pull_produce_rpc_messages.hpp
|
|
src/distributed/storage_gc_rpc_messages.capnp
|
|
src/distributed/storage_gc_rpc_messages.hpp
|
|
src/distributed/token_sharing_rpc_messages.capnp
|
|
src/distributed/token_sharing_rpc_messages.hpp
|
|
src/distributed/updates_rpc_messages.capnp
|
|
src/distributed/updates_rpc_messages.hpp
|
|
src/query/plan/distributed_ops.capnp
|
|
src/query/plan/distributed_ops.hpp
|
|
src/query/plan/operator.hpp
|
|
src/stats/stats_rpc_messages.capnp
|
|
src/stats/stats_rpc_messages.hpp
|
|
src/storage/concurrent_id_mapper_rpc_messages.capnp
|
|
src/storage/concurrent_id_mapper_rpc_messages.hpp
|
|
src/transactions/distributed/engine_rpc_messages.capnp
|
|
src/transactions/distributed/engine_rpc_messages.hpp
|