gvolfing
54c1efab7f
Merge branch 'project-pineapples' into 'T1165-MG-add-property-based-high-level-query-test'
2023-01-25 13:40:16 +01:00
gvolfing
3bc9c571a0
Make the use RequestRouter more restricted
2023-01-25 07:02:03 +01:00
gvolfing
b4ae8aea95
Apply suggestions from code review
2023-01-24 15:59:50 +01:00
gvolfing
94a536a2b9
Fix hanging conditionvariable
2023-01-18 16:03:34 +01:00
gvolfing
40835b8c9c
General clean-up
2023-01-16 14:54:20 +01:00
gvolfing
d1fe73c987
Conform simulation to test GetProperties correctly
2023-01-16 14:05:13 +01:00
gvolfing
41bb988fe9
Fix failing benchmark tests and implement cursor
...
The benchmarking tests were failing because of the incorrect
implementation of the ScanAllByPrimaryKeyCursor. The previous
implementation caused the currently allocateable 1m edgeids to run out
very quickly, causing the the tests to freeze.
2023-01-12 14:14:59 +01:00
gvolfing
1ebde8be74
Merge branch 'project-pineapples' into T1165-MG-add-property-based-high-level-query-test
2022-12-15 17:21:39 +01:00
gvolfing
fa39c6740b
Apply review comments
2022-12-15 17:02:01 +01:00
gvolfing
ae57fa3199
Apply suggestions from code review
...
Co-authored-by: Kostas Kyrimis <kostaskyrim@gmail.com>
2022-12-15 15:25:46 +01:00
gvolfing
3604046f68
Implement cypher query based simulation testing
...
Make the Interpreter be able to handle SimulatorTransport as well. This
includes introducing changes that make it possible to use the different
transport types in a semi-polymorphic way with the introduction of
factory methods in the RequestRouter. The reason for this solution is
that the classes that represent the different transport types have
member function templates, that we can not make virtual. This solution
seemed to be the least convoluted. In the testing itself now it is
possible to pass a set of cypher queried to the interpreter which would
run these queries against the interpreter and the individual shards that
are managed and started up by the MachineManager with the different
entities communicating over the simulated network.
2022-12-14 13:55:45 +01:00
Tyler Neely
1170e6762f
Rename coordinator::Shard to coordinator::ShardMetadata to avoid conflation with storage::v3::Shard
2022-12-12 15:22:17 +00:00
Tyler Neely
d6f1505582
Make Shard into a proper struct that can contain additional metadata
2022-12-12 15:14:48 +00:00
Tyler Neely
747b8a21cd
Fix bug with polling redirected requests
2022-12-05 14:20:06 +00:00
Tyler Neely
2e33f8275b
Merge branch 'project-pineapples' into tyler_full_async_request_router
2022-12-02 19:05:15 +01:00
Tyler Neely
9a62503803
Tick the simulator forward from Notify::Await in a similar way that Future::Wait does
2022-12-02 18:04:38 +00:00
Kostas Kyrimis
2120645d6a
Remove dead code in request_router simulation test
2022-12-01 17:39:12 +02:00
Kostas Kyrimis
f1ea76a3d7
Merge branch 'T0919-MG-implement-get-properties-storage' into T1172-MG-implement-get-properties-on-qe
2022-12-01 17:19:00 +02:00
Kostas Kyrimis
f8cbaaf362
Allow requests with zero properties
2022-12-01 14:41:21 +02:00
Kostas Kyrimis
3f3d6c52a3
Merge branch 'project-pineapples' into T0919-MG-implement-get-properties-storage
2022-11-30 17:25:05 +02:00
Kostas Kyrimis
94ef57c459
Fix small bugs
2022-11-30 17:24:46 +02:00
Kostas Kyrimis
9621532d3d
Prototype suggested changes and polish PR
2022-11-30 14:59:00 +02:00
Tyler Neely
8f08d986cb
Make method names clear for RequestRouter requests, avoid unnecessary overloading
2022-11-29 14:47:32 +00:00
Tyler Neely
9fc7f9dced
Standardize RequestRouter variable names as request_router
2022-11-28 13:03:07 +00:00
Tyler Neely
82db1d4ad8
Rename ShardRequestManager to RequestRouter
2022-11-28 12:38:38 +00:00
Tyler Neely
a8dc6fd41e
Change the namespace of ShardRequestManager to query::v2 instead of msgs
2022-11-28 09:43:56 +00:00
Kostas Kyrimis
7a3caa320c
WiP
2022-11-24 15:29:51 +02:00
Kostas Kyrimis
07a8ac0db8
Merge branch 'project-pineapples' into T0919-MG-implement-get-properties-storage
2022-11-24 15:29:05 +02:00
jbajic
7aa68164f0
Merge branch 'project-pineapples' into T0995-MG-implement-top-error-handling-storage
2022-11-23 21:55:08 +01:00
jbajic
b3eec92525
Merge branch 'project-pineapples' into T0995-MG-implement-top-error-handling-storage
2022-11-23 16:11:58 +01:00
jeremy
e77843f2ec
Merge branch 'project-pineapples' into T1083-MG-limit-and-order-expand-one_v3
2022-11-23 14:47:29 +01:00
Jure Bajic
e565fc6e3a
Merge branch 'project-pineapples' into T0995-MG-implement-top-error-handling-storage
2022-11-23 02:33:07 -08:00
Jeremy B
84800cff76
Merge branch 'project-pineapples' into T1083-MG-limit-and-order-expand-one_v3
2022-11-23 10:57:05 +01:00
jbajic
9fade5ebac
Fix tests
2022-11-23 10:37:33 +01:00
Jure Bajic
75606dfeb0
Merge branch 'project-pineapples' into T1116-MG-update-delete-vertex-labels
2022-11-23 00:34:27 -08:00
Kostas Kyrimis
9ec72bd969
Add GetProperties shard handler and tests
2022-11-22 19:44:22 +02:00
Tyler Neely
c0a103e851
Do not advance the clock with every message, as this prevents messages of a certain request depth from ever completing
2022-11-22 16:00:06 +00:00
jeremy
3a171376d7
OrderBy in Expand has two members to differ vertices Vs edges
2022-11-22 16:47:25 +01:00
jbajic
2a6dc7bb93
Remove success
2022-11-22 13:49:12 +01:00
Tyler Neely
0b19b62b12
Set the abort_time for raft tests to 1 simulated hour
2022-11-22 11:25:24 +00:00
jeremy
1a67dec302
Update test to use OrderBy and Limit on Expand
2022-11-21 11:45:35 +01:00
Tyler Neely
71dcba331e
Increment simulator time by up to 30ms in ticks
2022-11-21 10:10:45 +00:00
Tyler Neely
04420a84c7
Fix incorrect usage of IncrementServerCountAndWaitForQuiescentState in the shard_rsm.cpp simulation test
2022-11-18 16:54:38 +00:00
Tyler Neely
ce45a548c7
Significantly improve the determinism of the coordinator, UUID generation, the machine manager, the shard manager, and the cluster property test
2022-11-18 16:42:18 +00:00
Tyler Neely
3ad8489735
Run raft sim with random seeds over time, but allow a seed to be easily replayed using the RunWithSeed function
2022-11-18 10:34:21 +00:00
Tyler Neely
6b9a617df0
Streamline simulator tick condition varible notification. Advance time more aggressively
2022-11-18 09:20:15 +00:00
Tyler Neely
f6017697d6
Make raft tests fully deterministic for rng_seeds between 0 and 500 at 1% message loss
2022-11-17 21:32:55 +00:00
Tyler Neely
9c3d683942
Explicitly join test threads before collecting test stats
2022-11-17 21:28:17 +00:00
Tyler Neely
098084314e
Make TestAddress deterministically sortable
2022-11-17 21:22:41 +00:00
Tyler Neely
12880fc71a
Don't advance the simulator handle from server threads themselves
2022-11-17 18:27:12 +00:00