Commit Graph

3409 Commits

Author SHA1 Message Date
gvolfing
c1f9fb7a59 Conform cmake 2022-08-17 09:51:19 +00:00
gvolfing
7847a7f17a Add basic thrift test 2022-08-17 09:51:19 +00:00
gvolfing
923f2c8bae Enable Thrift and add basic thrift echo message 2022-08-17 09:51:19 +00:00
Tyler Neely
739c91c854 Add TODO to thrift transport test 2022-08-17 09:51:19 +00:00
gvolfing
bcb43a0234 Include used utilites and chande the type of std::map<T, U> 2022-08-17 09:51:19 +00:00
Tyler Neely
60dfafcb5f Add ThriftHandle::DeliverMessage method 2022-08-17 09:51:19 +00:00
Tyler Neely
d05d649924 More thrift scaffolding 2022-08-17 09:51:19 +00:00
Tyler Neely
f98f4d6841 Put some initial TODO's into the thrift handle 2022-08-17 09:51:19 +00:00
Tyler Neely
10c9f349a6 Rearrange some things to better support thrift transport 2022-08-17 09:51:19 +00:00
Tyler Neely
0083fa8a94 Use system_clock instead of local_t 2022-08-17 09:51:19 +00:00
Tyler Neely
2833ce4e68 Add some basic thrift transport skeletal pieces 2022-08-17 09:51:13 +00:00
Tyler Neely
e1b53dc3b6 Merge branch 'T0941-MG-implement-basic-raft-version' of github.com:memgraph/memgraph into T0912-MG-in-memory-shard-map 2022-08-17 09:50:49 +00:00
Tyler Neely
27fcea40cc Added request for edge id batch request to coordinator rsm 2022-08-17 09:50:49 +00:00
gvolfing
3c9fe7ef42 Gerneral clean-up 2022-08-17 09:50:49 +00:00
gvolfing
08fe7b09db Resolve issues with the sharded_map test 2022-08-17 09:50:49 +00:00
gvolfing
bbd3d352ee Add the coordinator part to the sharded_map test 2022-08-17 09:50:49 +00:00
gvolfing
eb71f3750c Check against cas_succeeded 2022-08-17 09:50:49 +00:00
gvolfing
bc2195b95b Remove unfinished statement 2022-08-17 09:50:49 +00:00
gvolfing
dea650aa82 Add test for sharded_map 2022-08-17 09:50:49 +00:00
gvolfing
169320d27b Move RsmClient into a separate folder and header 2022-08-17 09:50:49 +00:00
gvolfing
74469d7f79 Remove unnecessary storage pool, general cleanup 2022-08-17 09:50:49 +00:00
gvolfing
d1a7d065dd Make Coordinator apply splitting on request. 2022-08-17 09:50:49 +00:00
gvolfing
7bb92d6ee9 Add logic to split shards 2022-08-17 09:50:49 +00:00
gvolfing
7a84bed200 Add abstraction for RsmClient 2022-08-17 09:50:49 +00:00
gvolfing
d725d587ec Temporarly remove the stanby server pool 2022-08-17 09:50:49 +00:00
gvolfing
b8e0d6ad7b Change min and max key related shard logic 2022-08-17 09:50:49 +00:00
gvolfing
b6eec490f4 Update Coordinator 2022-08-17 09:50:49 +00:00
gvolfing
c747e04cb7 Add GetShardMap read-only request to coordinator 2022-08-17 09:50:49 +00:00
gvolfing
111e601b3d Return an error and the latest known ShardMap version if the requested key is not possibly stored in the given shard 2022-08-17 09:50:49 +00:00
Tyler Neely
c1d09646b7 Add todos to coordinator.hpp 2022-08-17 09:50:49 +00:00
Tyler Neely
abbe690e3d Merge branch 'T0941-MG-implement-basic-raft-version' of github.com:memgraph/memgraph into T0912-MG-in-memory-shard-map 2022-08-17 09:50:41 +00:00
Tyler Neely
9641b2dc7a Check-in in-progress shard test 2022-08-17 09:38:46 +00:00
Tyler Neely
c6d3c4c876 Check-in coordinator_rsm.hpp 2022-08-17 09:38:46 +00:00
Tyler Neely
650c656e67 Add Simulator::RegisterNew helper method 2022-08-17 09:38:46 +00:00
Tyler Neely
3961c4bb53 Bump shard_rsm to use new method names 2022-08-17 09:38:46 +00:00
Tyler Neely
45861ae35a Add new test, start to fill out coordinator RSM 2022-08-17 09:38:46 +00:00
Tyler Neely
98d18c1fa1 Merge branch 'T0912-MG-in-memory-shard-map' of github.com:memgraph/memgraph into T0912-MG-in-memory-shard-map 2022-08-17 09:38:46 +00:00
Tyler Neely
57938e4971 Use Read/Apply instead of read/apply in Rsm concept 2022-08-17 09:38:46 +00:00
Tyler Neely
cbdfd54e5f Properly apply state updates in Follower Handle for AppendRequest 2022-08-11 12:30:26 +00:00
Tyler Neely
69a2d73172 Fix bug-prone leader application of write requests to the replicated state 2022-08-11 12:17:33 +00:00
Tyler Neely
5b69f435b6 Small comment cleanup 2022-08-11 08:39:11 +00:00
Tyler Neely
f098d6b331 Merge branch 'T0879-MG-transport-prototype' of github.com:memgraph/memgraph into T0941-MG-implement-basic-raft-version 2022-08-10 10:48:17 +00:00
Tyler Neely
f6edce8f0b Apply Kostas's feedback to transport interface 2022-08-10 09:34:02 +00:00
Tyler Neely
1225230c3a Apply feedback from cpplint 2022-08-09 15:52:24 +00:00
Tyler Neely
5f225a623e align cpp w/ hpp naming 2022-08-09 15:21:52 +00:00
Tyler Neely
d15105455a Clean up comments and TODOs 2022-08-09 14:07:42 +00:00
Tyler Neely
36c133ce4e Merge branch 'T0879-MG-transport-prototype' of github.com:memgraph/memgraph into T0941-MG-implement-basic-raft-version 2022-08-08 16:29:48 +00:00
Tyler Neely
91d48f05f3
Merge branch 'project-pineapples' into T0879-MG-transport-prototype 2022-08-08 13:34:30 +02:00
Tyler Neely
7bac0d1c61 Use default equality operator for Address 2022-08-08 11:32:42 +00:00
Tyler Neely
a4b1d5efb4
Update src/io/future.hpp
Co-authored-by: Jure Bajic <jure.bajic@memgraph.com>
2022-08-08 13:27:06 +02:00