Commit Graph

3497 Commits

Author SHA1 Message Date
kostas kyrimis
f89af77be9 Merge branch 'E118-MG-lexicographically-ordered-storage' into T1010-MG-implement-query-engine-client 2022-09-21 11:35:30 +00:00
kostas kyrimis
834c80091e Remove unnecessary output on shard request manager test 2022-09-20 09:41:57 +00:00
gvolfing
ecda71168c
Implement message based actions ()
Create shard-side handlers for basic messages

Implement the handlers for CreateVertices, CreateEdges and ScanAll. Use
or modify the defined messages to interact with individual Shards and
test their behavior. Shard is currently being owned by ShardRsm
instances. The two top level dispatching functions Read() and Apply()
are responsible for read- and write operations respectively. Currently
there are a handful of messages that are defined but not utilized, these
will be used in the near future, as well as a couple of handler
functions with empty implementations.
2022-09-20 11:15:19 +02:00
kostas kyrimis
018800f01e Revert accidental changes on query/reequired_priviledges 2022-09-20 07:47:00 +00:00
kostas kyrimis
ba8cd4b492 Add dummy test to generate lisp deps so clang-tidy can work 2022-09-19 15:08:02 +00:00
kostas kyrimis
9c9d0343a9 Fix clang-tidy warnings 2022-09-19 13:55:25 +00:00
kostas kyrimis
708e745410 Clean up commented out code 2022-09-19 09:43:01 +00:00
Kostas Kyrimis
632f0398b5 Add missing glue code on DistributedCreateVertices 2022-09-14 15:12:16 +03:00
János Benjamin Antal
8e1f83acc9
Reference vertices by id in edges () 2022-09-14 13:11:14 +02:00
Kostas Kyrimis
c182cf8384 Added prototype for distributed ScanAll and CreateVertices cursors.
Changed ScanAll request return type to be friendlier for use.
2022-09-12 16:54:35 +03:00
Kostas Kyrimis
b5f8060c1f Integrated new accessors with TypedValue and temporary disabled
procedures, streams, triggers. Additionally, small changes to
ExpressionEvaluator and commented out parts of the operators that
used old accessors
2022-09-09 20:56:24 +03:00
jbajic
f910cb770c Merge branch 'project-pineapples' into E118-MG-lexicographically-ordered-storage 2022-09-09 12:39:28 +02:00
Kostas Kyrimis
ced3b7db06 ExpandOne prototype 2022-09-09 12:48:04 +03:00
Kostas Kyrimis
e078947d10 Comment out query engine tests temporarily because of the new TypedValue 2022-09-08 19:57:48 +03:00
Kostas Kyrimis
2eaad15804 Added TypedValue with new accessors and simplified requests 2022-09-08 19:56:48 +03:00
Kostas Kyrimis
002e08b4f8 Merge branch 'project-pineapples' into T1010-MG-implement-query-engine-client 2022-09-07 18:17:46 +03:00
Kostas Kyrimis
38d0b89b04
Implement expression evaluator library () 2022-09-07 18:15:32 +03:00
Kostas Kyrimis
e7d9ab1c5f Added accessors prototype, and ExpandOne request boilerplate 2022-09-07 17:36:49 +03:00
Jure Bajic
a2a6a3855b
Remove primary label from vertex ()
- Remove the primary label from vertex
- Pass vertex_validator instead of schema validator
- Fix vertex ctors
2022-09-07 13:36:10 +02:00
Jure Bajic
e9f0360fb3
Enable indices for storage v3 ()
- Enable indices in storage v3
- Add new test cases
- Change `CreateVertexAndValidate` to call `SetProperty` and `AddLabel`
2022-09-06 22:48:25 +02:00
Kostas Kyrimis
a2b04db23c Rename Middleware to ShardRequestManager 2022-09-06 13:12:48 +03:00
Kostas Kyrimis
5fa4e8c33a Merge project-pineapples 2022-09-06 13:05:48 +03:00
Kostas Kyrimis
57836f7c2b Added CreateVertices request test and polished 2022-09-05 22:28:15 +03:00
Kostas Kyrimis
c8bc4c7dbc Added Request ScanVertices on RequestClientManager and polished 2022-09-05 21:13:12 +03:00
János Benjamin Antal
fe4955447e
Merge branch 'project-pineapples' into E118-MG-lexicographically-ordered-storage 2022-09-05 14:59:01 +02:00
Tyler Neely
1631c20df2
In memory shard map () 2022-09-05 15:50:54 +03:00
Kostas Kyrimis
e442bf435a Add abstract interface to Middleware and rename it. Cleaned up member function implementation and tests 2022-09-05 15:46:03 +03:00
Kostas Kyrimis
ba06d29a35 Added ScanAll prototype 2022-09-05 10:02:21 +03:00
Kostas Kyrimis
1a2f138e09 middleware prototype 2022-09-02 16:50:48 +03:00
János Benjamin Antal
947baedbe6 Merge remote-tracking branch 'origin/project-pineapples' into E118-MG-lexicographically-ordered-storage 2022-09-02 11:41:03 +02:00
Kostas Kyrimis
c6447eb48b
Add shard requests responses () 2022-09-01 18:54:47 +03:00
Jure Bajic
7e84744d07
Split storage and shards ()
- Rename storage to shard
- Add primary label and range for shard
- Remove id_mapper functionality from shard
- Adapt tests
2022-09-01 09:10:40 +02:00
Tyler Neely
445cd2d206 Rename StorageClient in the tests to ShardClient to be consistent with ShardRsm 2022-08-31 14:42:57 +00:00
Tyler Neely
0fd448b300 Rename StorageRsm to ShardRsm 2022-08-31 14:40:53 +00:00
Tyler Neely
af4f3a5cb5 Add ShardMap::GetPropertyId 2022-08-31 14:24:20 +00:00
Tyler Neely
27459a9eb0 Add AllocatePropertyIds request/response pair for Coordinator + ShardMap 2022-08-31 14:22:40 +00:00
Tyler Neely
61b1fbfbc9 A number of clean-ups related to the coordinator and its tests 2022-08-30 15:14:28 +00:00
Tyler Neely
025df32d9e Small simplifications around compound keys 2022-08-30 14:19:50 +00:00
Tyler Neely
ab6585f19e Small clean-up of some TODOs and implementation of GetShardsForRange 2022-08-30 13:50:24 +00:00
Tyler Neely
c0d03888f4
Implement basic raft version () 2022-08-30 15:07:34 +02:00
Tyler Neely
f96133e0b9 Merge branch 'project-pineapples' of github.com:memgraph/memgraph into T0912-MG-in-memory-shard-map 2022-08-30 13:00:35 +00:00
János Benjamin Antal
efb3c8d03d
Remove multi-threaded related logic and variables ()
* Remove logic that was necessary for optimal multi-threaded performance, such
  as accumulating deleted object in local containers and appending them to a
  global one, handling overlapping locking.
* Remove background GC thread.
* Remove mutexes, locks and atomics throughout storage.
2022-08-30 13:41:53 +02:00
Tyler Neely
2a395a18b0 Merge branch 'T0941-MG-implement-basic-raft-version' of github.com:memgraph/memgraph into T0912-MG-in-memory-shard-map 2022-08-30 08:38:14 +00:00
Tyler Neely
910c484c76 Simplify simulator code around reasoning about blocked participants 2022-08-30 08:22:54 +00:00
Tyler Neely
13787a0b17 Do not count clients waiting on promises as blocking when calculating quiescent counts in the simulator 2022-08-30 08:19:04 +00:00
Tyler Neely
46afb25415 use static cast for micros 2022-08-30 07:53:45 +00:00
Tyler Neely
62bb9a399a Revert incorrect code suggestion 2022-08-30 07:51:36 +00:00
Tyler Neely
ec95cd31ed
Update src/io/rsm/raft.hpp
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2022-08-30 09:12:54 +02:00
Tyler Neely
c0bbfc4f0e Address clang-tidy feedback 2022-08-29 15:42:19 +00:00
Tyler Neely
d50a6ab232 Properly use Follower's next_index for sending batches instead of the known committed_log_size 2022-08-29 14:13:40 +00:00