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
45861ae35a
Add new test, start to fill out coordinator RSM
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
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
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
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
gvolfing
b5cff5999b
Unfinished rsm changes
2022-08-03 14:39:09 +02:00
Tyler Neely
997fdf5a16
Check-in skeleton for RSM logic on top of Raft
2022-08-02 10:18:38 +00:00
Tyler Neely
8be88deee6
Merge branch 'project-pineapples' of github.com:memgraph/memgraph into T0941-MG-implement-basic-raft-version
2022-08-02 08:48:20 +00:00
Tyler Neely
4d8f9ea821
Remove unnecessary comment
2022-08-02 07:03:12 +00:00
Tyler Neely
dd93b594bc
Remove dead code
2022-08-02 07:01:25 +00:00
Tyler Neely
9576eea051
Address some feedback from clang-tidy
2022-08-01 15:37:16 +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
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
6bdfb43ad0
Use rvalue reference requirement for Future::Wait
2022-07-28 16:07:20 +00: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
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
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
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
Tyler Neely
b4afe45de5
Handle Request timeouts properly in the simulator
2022-07-20 17:18:07 +00:00
Tyler Neely
581925e660
Fix a few bugs, expose stats
2022-07-20 17:07:18 +00:00
Tyler Neely
afef6dc11b
A large batch of bug fixes and clean-ups
2022-07-20 13:18:00 +00:00
Tyler Neely
689336e765
Fix several bugs, clean-ups and tuning
2022-07-19 14:57:01 +00:00
gvolfing
eb0b3141d5
Fix aggregation functions on null and group-by inputs ( #448 )
...
The `sum()` and `count()` functions were giving results different from the openCypher specification on null `input.` The aggregation functions also had a problem when they were used in a group-by context and were giving results that were not compliant with the openCypher specification.
2022-07-19 12:16:32 +02:00
János Benjamin Antal
c0bee760bf
git
2022-07-18 08:21:04 +02:00
Marko Budiselic
1480d975a7
Fix the basic_request example, something sill broken
2022-07-17 17:22:39 +02:00
Tyler Neely
9dc37a87f7
Enable more aggressive message scrambling to get a race condition to jump out about 0.2% of the time
2022-07-15 16:46:54 +00:00
Tyler Neely
46a2879ece
Fix a number of bugs in raft, and it can now go for around 1400 simulations before hitting a race condition
2022-07-15 16:44:42 +00:00
Tyler Neely
b2142e8d38
Remove unnecessary log message
2022-07-15 16:20:05 +00:00
Tyler Neely
0dc69c180d
Start cranking up the testing intensity and fix a variety of correctness and code quality issues
2022-07-15 16:19:00 +00:00
Tyler Neely
ad1d8637e5
Fix race condition in simulator. Make leader election function more reliably in raft code
2022-07-15 09:07:39 +00:00