antoniofilipovic
c65ba1618b
add graph import in dbaccessor
2022-08-11 15:16:04 +02:00
antoniofilipovic
7bbc8f3c4f
buildable state of VerticesIterable with wrong type for SubgraphVerticesIterable
2022-08-11 14:41:08 +02:00
antoniofilipovic
259d774539
add impl of vertices iterator
2022-08-11 14:04:02 +02:00
antoniofilipovic
d373365710
extend vertices iterable
2022-08-11 12:44:03 +02:00
antoniofilipovic
f762a7cdc8
change std::visit to use auto
2022-08-11 11:41:41 +02:00
antoniofilipovic
5d7238fad7
remove comments unnecessary
2022-08-07 16:33:06 +02:00
antoniofilipovic
08c6a09c77
refactor graph storing as set of edges and vertices and refactor serialization
2022-08-07 16:26:45 +02:00
antoniofilipovic
2775fdaea3
expend ast.lcp
2022-08-07 15:08:42 +02:00
antoniofilipovic
cf09181139
make buildable SubgraphVertexAccessor changes and SubgraphDbAccessor
2022-08-07 13:00:54 +02:00
antoniofilipovic
7c053bd87e
add impl for subgraph vertex accessor
2022-08-05 16:56:40 +02:00
antoniofilipovic
3281d606ef
add all missing functions for graph
2022-08-04 16:49:53 +02:00
antoniofilipovic
ff43f9b2d1
add rest of needed functions in SubgraphDbAccessor
2022-08-04 15:57:18 +02:00
antoniofilipovic
30864af98b
add subgraph accessor and visitor logic for graph
2022-08-04 14:04:51 +02:00
antoniofilipovic
80845b0233
add implementation for edge iterator
2022-07-29 18:08:23 +02:00
antoniofilipovic
e4a3ba7a2b
add non working version of edge iterator
2022-07-27 21:42:57 +02:00
antoniofilipovic
8fb770568f
add possibility to send graph, ignore it
2022-07-27 11:46:46 +02:00
antoniofilipovic
78c459de1a
add serialization for graph
2022-07-25 13:38:43 +02:00
antoniofilipovic
60c1412416
add edges impl
2022-07-22 16:55:27 +02:00
antoniofilipovic
d27ea7b869
all works till serialization
2022-07-21 17:07:27 +02:00
antoniofilipovic
a205030a15
add working graph creation
2022-07-21 16:34:17 +02:00
antoniofilipovic
e70e445899
add buildable graph impl
2022-07-21 11:37:04 +02:00
antoniofilipovic
12979c3048
add graph basic impl
2022-07-20 17:30:26 +02:00
antoniofilipovic
261072af89
try with map
2022-07-20 11:06:44 +02:00
antoniofilipovic
b7c8dc8ae7
add files modified with hook
2022-07-15 11:02:46 +02:00
Marko Budiselić
094d4f282d
Improve error-prone OS setup ( #428 )
2022-07-13 17:48:01 +02:00
Jure Bajic
3dd2657320
Create mgp python package ( #433 )
2022-07-12 10:54:23 +02:00
gvolfing
6fe474282a
Modify logaical operators to conform openCyper regarding checking against NULL in CASE expressions ( #432 )
...
* Make `IfOperator` return the `else_expression_` in case of `NULL`
* Add gql_behave tests
* Add gql_behave test to specifically check for the case when the test expression itself is null
2022-07-11 15:00:29 +02:00
gvolfing
7fc0fb6520
Implement ToString function for temporal datatypes ( #429 )
...
* Modify `toString` to be able to handle `Date`, `LocalTime`, `LocalDateTime` and `Duration`
* Add unit tests
* Make `operator<<` use the `ToString()` implementations
* Add tests to verify the correctness of negative durations
* Add more tests to look for cases when the individual duration entities overflow.
2022-07-11 13:44:27 +02:00
Jeremy B
063e297e1e
Avoid usage of time.sleep ( #434 )
...
e2e python: added tooling function around `time.sleep()` that stops as soon as condition is fulfilled and will raise assert if timeout is reached
2022-07-08 10:47:18 +02:00
Ante Javor
86b1688192
Rewrite Python API comments and snippets ( #420 )
...
* Update comments
2022-07-07 15:05:56 +02:00
Jeremy B
f629de7e60
Save replication settings ( #415 )
...
* Storage takes care of the saving of setting when a new replica is added
* Restore replicas at startup
* Modify interactive_mg_runner + memgraph to support that data-directory can be configured in CONTEXT
* Extend e2e test
* Correct typo
* Add flag to config to specify when replication should be stored (true by default when starting Memgraph)
* Remove un-necessary "--" in yaml file
* Make sure Memgraph stops if a replica can't be restored.
* Add UT covering the parsing of ReplicaStatus to/from json
* Add assert in e2e script to check that a port is free before using it
* Add test covering crash on Jepsen
* Make sure applciaiton crashes if it starts on corrupted replications' info
Starting with a non-reponsive replica is allowed.
* Add temporary startup flag: this is needed so jepsen do not automatically restore replica on startup of main. This will be removed in T0835
2022-07-07 13:30:28 +02:00
Jeremy B
b737e53456
Remove sync with timeout ( #423 )
...
* Remove timout when registering a sync replica
* Simplify jepsen configuration file
* Remove timeout from jepsen configuration
* Add unit test
* Remove TimeoutDispatcher
2022-07-05 09:40:50 +02:00
János Benjamin Antal
10ca68bb2a
Remove CODEOWNERS ( #427 )
...
Co-authored-by: Marko Budiselić <marko.budiselic@memgraph.com >
2022-07-04 16:42:36 +02:00
Jure Bajic
bfbd8538d4
Update docker release process ( #421 )
...
* Fix release directory
* Update release process
* Fix debian arm path
2022-07-04 16:10:33 +02:00
Jeremy B
3e0e17d469
Adding assert in e2e script to check that a port is free before using it ( #425 )
...
* Adding assert in e2e script to check that a port is free before using it
* Adding extra logging
2022-07-04 10:14:02 +02:00
Jeremy B
b57f91fcfc
Correct concurrency group ( #426 )
...
* Correct concurrency group
2022-07-01 16:53:41 +02:00
Jeremy B
066a96c0ae
Adding concurrency to cancel current workflow if one commits on the same branch. ( #424 )
...
* Adding concurrency to cancel current workflow if one commits on the same branch.
2022-07-01 15:47:50 +02:00
Jeremy B
1ae6b71c5f
Registering a replica with timeout 0 should not be allowed ( #414 )
2022-06-29 11:14:23 +03:00
Jure Bajic
cbe15e7f44
Support Ubuntu 22.04 ( #411 )
...
* Fix toolchain url
* Add 22.04 os script
* Update centos-9 stream
* Update zlib
* Upgrade dotnet version
* Add libipt
* Update toolchain extension
* Add release container
* Remove CentOS 8
* Enable arm packaging
* Add centos 9 container
* Ignore missing python virtualenv
* Add virtualenvwrapper
* Rearrange order
* Install virtualenv without user
* Run virtualenv via python
* Add logrotate dependency
* Bump up checkout action version
2022-06-23 14:02:21 +02:00
Jeremy B
65a7ba01da
Add information on show replicas to express how up-to-date a replica is ( #412 )
...
* Add test
* Add implementation and adapted test
* Update workloads.yaml to have a timeout > 0
* Update tests (failing due to merging of "add replica state")
2022-06-23 10:22:57 +02:00
Kostas Kyrimis
7a2bbd4bb3
Remove ref from std::string_view ( #215 )
2022-06-21 17:18:43 +03:00
Jeremy B
589e0e098b
Forbid two replicas to point to the same ip port ( #406 )
2022-06-20 17:10:20 +03:00
Jeremy B
41d4185156
Add limit batches option to start stream query ( #392 )
2022-06-20 15:09:45 +03:00
Marko Budiselić
599c0a641f
Add replica state to SHOW REPLICAS ( #379 )
2022-06-20 13:28:42 +03:00
Tyler Neely
1fb49c4865
Add an uncatchable kill method to the python MemgraphInstanceRunner for testing abrupt failures ( #405 )
2022-06-15 12:16:11 +03:00
János Benjamin Antal
df1485aeec
Run clang-tidy also on our header files ( #402 )
2022-06-10 11:26:24 +02:00
Jure Bajic
b2e1056389
Fix websocket connection ( #403 )
...
* Fix websocket connection with other clients
2022-06-09 22:19:43 +02:00
Jeremy B
e4c9411e63
Correcting USE_JEMALLOC flag ( #401 )
...
* Correcting USE_JEMALLOC flag
* Removing references to jemalloc local copy in /libs
2022-06-09 18:55:28 +02:00
Jeremy B
a0bc1371dd
Adding "raw message" column to the result returned by CHECK STREAM query ( #394 )
...
* Adding "raw message" column to the result return by CHECK STREAM query
* Update way results of CHECK STREAM are built
* Adapting CHECK STREAM integration tests (Pulsar/Kafka) to run with new result structure
* Adding new tests covering the check stream functionality
* Uppercase constants in stream tests
* Reformat f-strings
2022-06-08 23:17:44 +02:00
Marko Budiselić
21ad5d4328
Fix SHOW REPLICATION ROLE and SHOW REPLICAS ( #376 )
2022-05-20 20:17:59 -07:00