jeremy
7e35c71c58
Merge branch 'T1083-MG-limit-and-order-expand-one_v3' of github.com:memgraph/memgraph into T1083-MG-limit-and-order-expand-one_v3
2022-10-28 13:22:54 +02:00
Jeremy B
b6814b7a49
Update src/storage/v3/shard_rsm.cpp
...
Co-authored-by: Jure Bajic <jure.bajic@memgraph.com>
2022-10-28 13:22:49 +02:00
jeremy
903e29a081
Merge branch 'T1083-MG-limit-and-order-expand-one_v3' of github.com:memgraph/memgraph into T1083-MG-limit-and-order-expand-one_v3
2022-10-28 13:22:12 +02:00
Jeremy B
1c17692a26
Update src/storage/v3/shard_rsm.cpp
...
Co-authored-by: Jure Bajic <jure.bajic@memgraph.com>
2022-10-28 13:22:07 +02:00
jeremy
34fbaa0aee
Merge branch 'T1083-MG-limit-and-order-expand-one_v3' of github.com:memgraph/memgraph into T1083-MG-limit-and-order-expand-one_v3
2022-10-28 13:21:52 +02:00
Jeremy B
476e2670d5
Update src/storage/v3/request_helper.cpp
...
Co-authored-by: Jure Bajic <jure.bajic@memgraph.com>
2022-10-28 13:21:48 +02:00
jeremy
be7aa55686
Add std::move
2022-10-28 13:21:43 +02:00
jeremy
46388ad35c
Correct compilation
2022-10-28 13:10:00 +02:00
jeremy
0d5ee49e19
Correct test expectation
2022-10-28 12:55:56 +02:00
jeremy
74181114c2
Remove un-necessary variable
2022-10-28 12:55:47 +02:00
jeremy
009c1b4074
Replace include
2022-10-28 12:55:23 +02:00
jeremy
d0b8b27c29
Rename ordered->sorted
2022-10-28 12:52:37 +02:00
jeremy
79c2ae206f
Update FillEdges usage (for compilation)
2022-10-28 11:24:41 +02:00
Jeremy B
fa6129dc2b
Merge branch 'project-pineapples' into T1083-MG-limit-and-order-expand-one_v3
2022-10-26 15:59:15 +02:00
Tyler Neely
eafccaea84
Add a logarithmically bucketing histogram and record response latencies per message type ( #616 )
2022-10-26 15:57:11 +02:00
Jeremy B
aeed7c32f9
Merge branch 'project-pineapples' into T1083-MG-limit-and-order-expand-one_v3
2022-10-26 11:32:44 +02:00
János Benjamin Antal
f6e78ce6da
Fix TODOs in storage engine ( #614 )
...
Fixed various TODOs that were easy to fix to improve the code quality of the
newly implemented storage.
2022-10-26 10:40:35 +02:00
Jeremy B
8e7118efde
Merge branch 'project-pineapples' into T1083-MG-limit-and-order-expand-one_v3
2022-10-26 08:39:21 +02:00
gvolfing
ca2351124b
Make primary labels act as label indices ( #605 )
...
Because of the lexicographical sharding, the primary labels themselves are
acting as indexes. If a primary label is specified in a MATCH query we can
safely narrow the range of shards we have to scan through based on that label.
This PR introduces the necessary changes in order to achieve that.
2022-10-25 19:48:17 +02:00
jeremy
cdab8828e4
remove else
2022-10-25 12:30:14 +02:00
jeremy
c1d0fddaac
Remove unnecessary else
2022-10-25 11:31:23 +02:00
jeremy
18423ce34d
remove includes
2022-10-25 11:01:04 +02:00
jeremy
b4f68e7a60
remove includes
2022-10-25 10:56:16 +02:00
jeremy
e901c1fdb7
Refactor code
2022-10-25 10:45:33 +02:00
Jeremy B
016b3ee0d2
Merge branch 'project-pineapples' into T1083-MG-limit-and-order-expand-one_v3
2022-10-25 10:30:22 +02:00
János Benjamin Antal
332afadf21
Split file parsing ( #600 )
...
Add temporary support for split files. This is only temporary solution until we
get the shard splitting implemented.
2022-10-25 10:27:13 +02:00
Tyler Neely
acc655f4fd
Model-based testing of simulated full cluster ( #584 )
...
This PR adds support for generating randomized workloads that will be executed
against a simulated cluster, as well as against a correctness model. Initially
this just generates ScanAll and CreateVertex requests, and anything that it
creates, it also inserts into a `std::set`, and when we do a ScanAll, it asserts
that we get the same number of requests back. This will become much more
sophisticated over time, but it's already hitting pay-dirt.
2022-10-24 19:54:09 +02:00
jeremy
862af55266
Remove #NoCommit
2022-10-24 16:39:38 +02:00
jeremy
33c9ccee66
Adapt test
2022-10-24 16:38:28 +02:00
jeremy
8b9e7e2c65
Correct behavior of batch limit (was size_t)
2022-10-24 16:23:42 +02:00
jeremy
51e6802aa7
Safeguard in case ComputeExpression is called without opt
2022-10-24 15:44:57 +02:00
jeremy
386a0c5686
add comment
2022-10-24 15:44:37 +02:00
jeremy
994aab8774
Merge branch 'T1083-MG-limit-and-order-expand-one_v3' of github.com:memgraph/memgraph into T1083-MG-limit-and-order-expand-one_v3
2022-10-24 12:08:38 +02:00
jeremy
8112957a35
Merge branch 'project-pineapples' into T1083-MG-limit-and-order-expand-one_v3
2022-10-24 12:08:02 +02:00
jeremy
b82e8748ad
Attempt impl
2022-10-24 12:03:51 +02:00
Jeremy B
cb00b43ca7
Merge branch 'project-pineapples' into T1083-MG-limit-and-order-expand-one_v3
2022-10-21 18:17:34 +02:00
jeremy
55e0dbca80
Add limit to ExpandOne
...
Add missing pragma
Add test
Merge conflicts
2022-10-21 16:32:49 +02:00
Tyler Neely
12e7a261aa
operator<<
implementations for a few foundational types (#604 )
2022-10-21 15:25:40 +02:00
Marko Budiselić
1c3bb969e9
Decouple interactive planning manual test ( #585 )
2022-10-21 13:34:13 +02:00
Jure Bajic
e5437080c5
Handle OrderBy in ScanVertices request ( #594 )
...
- Refactor shard_rsm and move function into expr.hpp/expr.cpp and request_helper.hpp/request_helper.cpp
2022-10-21 12:33:40 +02:00
Tyler Neely
17090dd8ac
Load SPDLOG_LEVEL environment variable in unit tests binaries ( #606 )
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2022-10-20 18:27:52 +02:00
gvolfing
281cebd386
Add filtering capabilities to ExpandOne request ( #581 )
2022-10-20 17:51:44 +02:00
János Benjamin Antal
f89a2bbf42
Make ExpandOne work in the query engine ( #589 )
2022-10-20 11:35:00 +02:00
gvolfing
85b8ce9101
Implement filtering capabilities for ScanAll ( #578 )
...
ScanVerticesrequest was not able to utilize filtering capabilities
before. With these modification it is now able to filter the scanned
vertices based on the filter_expressions field in the
ScanVerticesRequest message type.
2022-10-19 16:09:00 +02:00
Jure Bajic
6bb40a7f49
Create ExpandOne request ( #580 )
...
Refactor CreateEdge into CreateExpand
2022-10-19 13:55:46 +02:00
gvolfing
07f34838bd
Add e2e test to check ScanAll on new architecture ( #603 )
...
Add testing capabilities similar to what existed before on the older
architecture. With this test specifically, test if we can create
vertices and return them with ScanAll. There is a hard-coded 3s wait in
the test which is needed because the MachineManager need this time to
initialize itself.
2022-10-18 21:38:56 +02:00
gvolfing
d06132cb33
Make ShardRequestManager work with futures ( #588 )
...
The communication between the ShardRequestManager and the RsmClient
used to be direct. In this PR this changes into a future-based
communication type. The RsmClient stores state about the currently
processed future (either read or write request) and exposes blocking
and non-blocking functionality to obtain the filled future. The
ShardRequestManager -for now- will send of the set of requests present
in the ExecutionState and block on each of them until the requests are
completed or the set of paginated responses(caused by, for example the
batch-limit in ScanAll) are ready for the next round.
2022-10-18 09:53:37 +02:00
Marko Budiselić
5347c06d76
Add shutdown of LocalSystem
during the shutdown process ( #592 )
2022-10-14 11:59:50 +02:00
Tyler Neely
4634ac484a
Optimize simulator RNG usage ( #590 )
...
This causes instructions for `basic_request.cpp` to drop from 281 million to 28 million
2022-10-12 19:19:06 +03:00
Jeremy B
4cb3b064c4
Add filter to scan all ( #575 )
...
Add several versions of ScanAll with filters.
Add helper function to transform an expression into string that can be parsed again once on the storage.
2022-10-12 11:46:59 +02:00