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
jbajic
5012824e05
Address review comments
2022-08-04 11:45:16 +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
b2a8063a96
Make more temporaries const
2022-08-02 14:33:05 +00:00
Tyler Neely
54369958d1
Extract BlockedServers functionality from MaybeTickSimulator and IncrementServerCountAndWaitForQuiescentState
2022-08-02 14:30:12 +00:00
Tyler Neely
4f06eb0f2f
Address rule-of-five for abstract inhertance in OpaquePromise
2022-08-02 14:24:59 +00:00
Tyler Neely
ad0a8c4942
Use simple virtual inheritance instead of bespoke vtable for OpaquePromise
2022-08-02 13:36:40 +00:00
Tyler Neely
902a46d14f
Make dynamic message Take messages rvalue methods
2022-08-02 07:12:05 +00:00
Tyler Neely
3b44ef70b6
Denest operator< for clarity
2022-08-02 07:06:43 +00:00
Tyler Neely
4d8f9ea821
Remove unnecessary comment
2022-08-02 07:03:12 +00:00
Tyler Neely
e935a9a7b1
Make parenthesization less confusing
2022-08-02 07:02:17 +00:00
Tyler Neely
dd93b594bc
Remove dead code
2022-08-02 07:01:25 +00:00
Tyler Neely
997d25d536
Remove buggy usage of std::forward
2022-08-01 15:53:37 +00:00
Tyler Neely
ace5f2b639
Complete clang-tidy cleanup
2022-08-01 15:44:34 +00:00
Tyler Neely
9576eea051
Address some feedback from clang-tidy
2022-08-01 15:37:16 +00:00
Tyler Neely
5bb3361a2d
Use std::chrono::microseconds explicitly for Duration. Fix compiler warning related to timeouts
2022-08-01 14:32:07 +00:00
Tyler Neely
cacb0dac80
Avoid unnamed namespace in future.hpp
2022-08-01 14:12:07 +00:00
Tyler Neely
649b5437b0
Improve docs around Io interface
2022-08-01 12:58:55 +00:00
Tyler Neely
102d997288
Update src/io/simulator/simulator_handle.hpp
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2022-08-01 14:52:06 +02:00
Tyler Neely
a3f3e05fc2
Include replier address in operator< for PromiseKey
2022-08-01 12:50:48 +00:00
Tyler Neely
4f4eb9ea13
Update src/io/future.hpp
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2022-08-01 14:47:13 +02:00
Tyler Neely
ca638db509
Remove extra blank line
2022-08-01 12:45:45 +00:00
Tyler Neely
7d33bb1937
Update Future unit test to use gtest
2022-08-01 12:42:37 +00:00
Tyler Neely
b8487da392
Move future test to unit tests
2022-08-01 11:58:54 +00:00
Tyler Neely
dbd744470b
Add future benchmark
2022-08-01 11:48:21 +00:00
Tyler Neely
b2b11f3a30
Run simulation tests in CI
2022-08-01 11:24:21 +00:00
Tyler Neely
eb1b6c3ac8
Make SimulatorHandle::TimeoutPromisesPastDeadline private
2022-08-01 11:10:00 +00:00
Tyler Neely
0c2cbb5461
Make a couple more things const
2022-08-01 11:08:17 +00:00
Tyler Neely
69ea79a75e
Make a couple more things const
2022-08-01 11:07:39 +00:00
Tyler Neely
c0d6cec9ab
Split simulator_handle.cpp into a source and header file
2022-08-01 11:06:08 +00:00
Tyler Neely
9b915be1aa
Make some methods const. Remove outdated TODO
2022-08-01 10:30:37 +00:00
Tyler Neely
b127f6f345
Use spdlog and create a formatter for Address
2022-08-01 10:23:25 +00:00
jbajic
f57f30c8cf
Merge branch 'project-pineapples' into E112-MG-implement-partial-schema
2022-08-01 10:46:11 +02:00
Tyler Neely
66ef5b2072
Make certain temporaries const
2022-08-01 08:26:09 +00:00
Tyler Neely
e0bbf4766a
Merge branch 'project-pineapples' of github.com:memgraph/memgraph into T0879-MG-transport-prototype
2022-07-29 11:47:50 +00:00
Jure Bajic
462daf3a2b
Enforce schema on vertex creation
...
- Separating schema definition from schema validation
- Updating vertex_accessor and db_accessors with necessary methods
- Adding a primary label to Vertex
- Adding schema tests
- Updating existing tests for storage v3, and deprecating old:
- interpreter => interpreter_v2
- query_plan_accumulate_aggregate => storage_v3_query_plan_accumulate_aggregate
- query_plan_create_set_remove_delete => storage_v3_query_plan_create_set_remove_delete
- query_plan_bag_semantics => storage_v3_query_plan_bag_semantics
- query_plan_edge_cases => storage_v3_query_plan_edge_cases
- query_plan_v2_create_set_remove_delete => storage_v3_query_plan_v2_create_set_remove_delete
- query_plan_match_filter_return => storage_v3_query_plan_match_filter_return
2022-07-29 13:38:17 +02:00
Tyler Neely
6a808ce1fc
Delete empty line
2022-07-28 16:27:57 +00:00
Tyler Neely
a89a2d9caa
Update src/io/simulator/simulator_transport.hpp
...
Co-authored-by: Jure Bajic <jure.bajic@memgraph.com>
2022-07-28 18:26:36 +02:00
Tyler Neely
c4f1764fee
Rely on default initialization of random number generators
2022-07-28 16:24:45 +00:00
Tyler Neely
48a445f2ed
Merge branch 'T0879-MG-transport-prototype' of github.com:memgraph/memgraph into T0879-MG-transport-prototype
2022-07-28 16:24:34 +00:00
Tyler Neely
406da4b25c
Use uint8_t instead of int for SimulatorConfig::drop_percent
2022-07-28 16:23:10 +00:00
Tyler Neely
8fde05444d
Update src/io/future.hpp
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2022-07-28 18:13:50 +02:00
Tyler Neely
6bdfb43ad0
Use rvalue reference requirement for Future::Wait
2022-07-28 16:07:20 +00:00
Tyler Neely
9056e2c97a
Make Address's == and < operators consider uuid
2022-07-28 16:06:48 +00:00
Marko Budiselic
2009fefc8a
Merge branch 'master' into project-pineapples
2022-07-28 15:36:51 +02:00
Marko Budiselić
eb3f96d1f6
Bring changes from master to project-pineapples ( #477 )
...
* Fix aggregation functions on `null` and group-by inputs (#448 )
* Upgrade Antrl to 4.10.1 and remove antlr_lock (#441 )
* Update clang-tidy job (#476 )
* Add parser stress test (#463 )
NOTE: Doing this to have buildable comments on the project-pineapples branch
Co-authored-by: gvolfing <107616712+gvolfing@users.noreply.github.com>
Co-authored-by: Jure Bajic <jure.bajic@memgraph.com>
2022-07-28 15:36:17 +02:00
Tyler Neely
51371398ce
Update src/io/future.hpp
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2022-07-27 17:27:11 +02:00
Tyler Neely
b38dc28e01
Update src/io/future.hpp
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2022-07-27 17:26:00 +02:00