Commit Graph

3398 Commits

Author SHA1 Message Date
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
Tyler Neely
0a43afdec1 Update raft implementation to use std::chrono like upstream 2022-08-04 13:28:52 +00:00
Tyler Neely
618a3d96b3 Merge branch 'T0879-MG-transport-prototype' of github.com:memgraph/memgraph into T0941-MG-implement-basic-raft-version 2022-08-04 12:07:54 +00:00
jbajic
5012824e05 Address review comments 2022-08-04 11:45:16 +02:00
gvolfing
ee16954641 Add minimum and maximum key for shard rsm prototype 2022-08-04 11:20:19 +02:00
gvolfing
0aab854e34 Add shard rsm prototype 2022-08-04 10:47:00 +02:00
Jure Bajic
a12a1ea358 Move schema to storage v3 and query v2
* Move schema to storage v3

* Remove schema from v2

* Move schema to query v2

* Remove schema from query v1

* Make glue v2

* Move schema related tests to newer versions of query and storage

* Fix typo in CMake

* Fix interpreter test

* Fix clang tidy errors

* Change temp dir name
2022-08-04 09:50:02 +02:00
Tyler Neely
343648f564 Merge branch 'T0941-MG-implement-basic-raft-version' of github.com:memgraph/memgraph into T0912-MG-in-memory-shard-map 2022-08-04 07:49:09 +00:00
gvolfing
726fabd387 Constrain Raft class template with concept 2022-08-04 09:09:18 +02:00
Tyler Neely
d1c5aead61 Implement the rest of the KV-on-Raft RSM test 2022-08-03 15:07:08 +00:00
Tyler Neely
aebac2c519 Hoist read and write requests on the RSM into wrapper structs for futureproofing 2022-08-03 14:21:37 +00:00
Tyler Neely
74b354979c Check in incremental progress on fixing compilation error 2022-08-03 13:42:08 +00:00