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
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
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
Tyler Neely
6cc550719b
Update src/io/future.hpp
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2022-07-27 17:25:25 +02:00
Tyler Neely
ef70b858e2
Centralize Future's Shared state taking logic. Fix a race condition in quiescence tracking
2022-07-27 15:24:33 +00:00
Tyler Neely
509c12956c
Update src/io/future.hpp
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2022-07-27 17:09:32 +02:00
Tyler Neely
1527509e36
Use std::chrono instead of raw uint64_t
2022-07-27 15:07:01 +00:00
Tyler Neely
0cfb68bb89
Update src/io/simulator/simulator_handle.hpp
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2022-07-27 16:56:14 +02:00
Tyler Neely
e2968c2e21
Use std::chrono instead of raw uint64_t
2022-07-27 14:55:39 +00:00
Tyler Neely
4ee4612a9c
Remove removed raft.cpp from CMakeLists.txt for the simulator tests
2022-07-27 14:06:16 +00:00
Tyler Neely
dc38296575
avoid unnecessary std::optional around std::function which can be nullable
2022-07-27 14:05:57 +00:00
Marko Budiselić
80e0e439b7
Add parser stress test ( #463 )
2022-07-26 20:54:56 +02:00
Jure Bajic
351258ace8
Update clang-tidy job ( #476 )
...
Update clang tidy job to only check the diff against the base branch
2022-07-26 16:53:56 +02:00
Marko Budiselić
74d3663821
Upgrade Antrl to 4.10.1 and remove antlr_lock ( #441 )
2022-07-26 08:31:38 +02:00
Tyler Neely
2a199c9484
Merge branch 'master' of github.com:memgraph/memgraph into T0879-MG-transport-prototype
2022-07-22 12:14:18 +00:00
Tyler Neely
a85e9fcdd4
Remove raft-related code from transport prototype branch
2022-07-22 12:11:00 +00:00
Kostas
72b4337864
Added ScanVertices request/response example
2022-07-21 18:37:06 +03:00
János Benjamin Antal
ed71332773
Add dummy storage engine to test
2022-07-21 16:23:27 +02:00
Tyler Neely
fd3d70d847
Move raft-related code to replicated state machine (rsm) namespace
2022-07-21 12:41:02 +00:00
Tyler Neely
f8e5032011
Restructure files into namespaces and subdirectories
2022-07-21 12:10:23 +00:00
Tyler Neely
5b59d890c0
Remove awkward Reply sugar for now
2022-07-21 11:53:51 +00:00
Tyler Neely
0351db2461
Move future.hpp to src/io
2022-07-21 11:45:05 +00:00
Tyler Neely
c379475e12
Merge branch 'project-pineapples' of github.com:memgraph/memgraph into T0879-MG-transport-prototype
2022-07-21 11:01:04 +00:00
Tyler Neely
9c5d19bc19
Start to adapt the transport-related code to use namespaces
2022-07-21 11:00:11 +00:00
Tyler Neely
4d85a7e605
Check-in simulator_transport.hpp
2022-07-21 10:49:33 +00:00
Tyler Neely
f6c2202772
Use anonymous namespace to avoid friend declarations in future.hpp
2022-07-21 10:49:19 +00:00
Tyler Neely
498ae97ae9
Clean up log messages
2022-07-21 10:26:08 +00:00
Tyler Neely
fbd015d3c6
Continue codebase clean-up in preparation for merge
2022-07-21 10:24:13 +00:00
Tyler Neely
1ef11a36f4
Apply feedback from cpplint
2022-07-21 09:33:06 +00:00
Tyler Neely
9ae1671e4f
Fix bug with MgFuture where its safety check was not correctly initialized
2022-07-20 18:17:06 +00:00