Commit Graph

3473 Commits

Author SHA1 Message Date
Tyler Neely
0f28408db4 Merge branch 'T0912-MG-in-memory-shard-map' of github.com:memgraph/memgraph into T0916-MG-fbthrift-transport 2022-08-19 06:47:29 +00:00
gvolfing
4ee0fd1715 Move RsmMap into a seperate header 2022-08-19 08:28:52 +02:00
Tyler Neely
d42fa1fc87 Fix ShardMap::GetShardForKey 2022-08-18 15:14:04 +00:00
Tyler Neely
2a3a3338f0 Clean up coordinator a bit 2022-08-18 14:04:28 +00:00
Tyler Neely
2320f95dd1 Update the coordinator to include request for initializing a new shard map 2022-08-18 14:01:47 +00:00
gvolfing
3b1d1449be Workaround for initializing folly inside gtests 2022-08-18 15:59:27 +02:00
Tyler Neely
3794693356 Make shard_rsm.hpp a bit more clear 2022-08-18 13:34:11 +00:00
Tyler Neely
d50b6c1abb Move rsm_client to src/io/rsm 2022-08-18 13:20:56 +00:00
Tyler Neely
79ffcc1793 Separate thrift concerns from other unit tests 2022-08-18 12:45:48 +00:00
Tyler Neely
b5cff914c0 Check-in ubermessage-related thrift specs 2022-08-18 09:56:13 +00:00
gvolfing
5caa61e8cb Update for pairprogramming session 2022-08-18 11:32:49 +02:00
Tyler Neely
a994b364ca Merge branch 'T0912-MG-in-memory-shard-map' of github.com:memgraph/memgraph into T0916-MG-fbthrift-transport 2022-08-17 16:41:11 +00:00
Tyler Neely
d292162b00 Use new RsmClient in raft test 2022-08-17 16:40:18 +00:00
Tyler Neely
9c4556618a Rework RsmClient and update sharded_map commit 2022-08-17 16:35:35 +00:00
gvolfing
a03cbab9e0 Chang Ip and Uuid representation to string 2022-08-17 16:13:28 +02:00
gvolfing
79011b7b5b Add Address thrift definition 2022-08-17 15:44:22 +02:00
Tyler Neely
657749454d Merge branch 'T0916-MG-fbthrift-transport' of github.com:memgraph/memgraph into T0916-MG-fbthrift-transport 2022-08-17 09:53:23 +00:00
Tyler Neely
b9efa2499d Merge branch 'T0912-MG-in-memory-shard-map' of github.com:memgraph/memgraph into T0916-MG-fbthrift-transport 2022-08-17 09:53:19 +00:00
gvolfing
f8d1129af1 Add POC thrift echo test 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
c1f9fb7a59 Conform cmake 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
gvolfing
7847a7f17a Add basic thrift test 2022-08-17 09:51:19 +00:00
Tyler Neely
60dfafcb5f Add ThriftHandle::DeliverMessage method 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
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