Commit Graph

3475 Commits

Author SHA1 Message Date
antoniofilipovic
0713d7fe91 Merge branch 'cpp-api-change-rel-to-from' into new-dev-memgraph-mage-2-11-0-8-9-23 2023-09-08 11:28:52 +02:00
antoniofilipovic
0a8dfb3c08 Merge branch 'fix-trigger-for-deleted-api-issue' into new-dev-memgraph-mage-2-11-0-8-9-23 2023-09-08 11:28:43 +02:00
ind1xa
c0d4f5e0bc Add traits under mgp iterator (#1210) 2023-09-08 08:57:37 +02:00
antoniofilipovic
54d2f5f66b update on delete test 2023-09-07 18:08:36 +02:00
antoniofilipovic
b4715a5e50 update naming 2023-09-07 18:07:49 +02:00
antoniofilipovic
31f6c5afd7 resolve conflicts 2023-09-07 17:50:57 +02:00
Antonio Filipovic
974a6e3027 Fix bug on mgp dispatcher guard (#1225) 2023-09-07 17:42:27 +02:00
imilinovic
d23e04433d remove diskstorage tests 2023-09-07 15:59:19 +02:00
imilinovic
4f9e39eb8b PR changes 2023-09-07 15:43:01 +02:00
Matija Pintarić
d9464c6ffd Add InDegree and OutDegree in O(1) (#1217) 2023-09-07 13:16:30 +02:00
imilinovic
296bdec6d8 Merge branch 'master' of github.com:memgraph/memgraph into cpp-api-change-rel-to-from 2023-09-07 12:34:59 +02:00
Antonio Filipovic
72740d4278 Merge branch 'master' into fix-trigger-for-deleted-api-issue 2023-09-07 12:23:08 +02:00
Ante Javor
312d01bd0c Remove repeated log lines from TRACE log level. (#1054) 2023-09-06 23:09:51 +02:00
imilinovic
48d6d966b9 Merge branch 'master' of github.com:memgraph/memgraph into cpp-api-change-rel-to-from 2023-09-06 16:43:12 +02:00
Antonio Filipovic
cbd44d13b9 Merge branch 'master' into fix-trigger-for-deleted-api-issue 2023-09-06 12:48:37 +02:00
antoniofilipovic
a96469e62b Merge branch 'fix-trigger-for-deleted-api-issue' of github.com:memgraph/memgraph into fix-trigger-for-deleted-api-issue 2023-09-06 12:47:58 +02:00
antoniofilipovic
560ed9c43f add tests for triggers 2023-09-06 12:45:49 +02:00
Antonio Filipovic
b6b32bec03 Improve performance of delta creation (#1129) 2023-09-06 11:30:21 +02:00
Antonio Filipovic
93992a275b Improve NameToId mapper on set properties (#1147) 2023-09-06 00:12:27 +02:00
Andi
b5413c6f82 Add edge import mode into the on-disk storage (#1157) 2023-09-05 19:00:53 +02:00
imilinovic
26a58dcfc8 add rollback tests, fix compile bug 2023-09-05 15:14:06 +02:00
antoniofilipovic
db81e57654 add trigger initial test 2023-09-05 14:26:50 +02:00
imilinovic
4357571800 Merge branch 'master' of github.com:memgraph/memgraph into cpp-api-change-rel-to-from 2023-09-05 14:11:05 +02:00
Josipmrden
09fd5939da Remove double scan with expand from the planner (#1085) 2023-09-05 11:02:52 +02:00
Josipmrden
02eab6ab9c Set properties C API extension (#1131)
Add SetProperties into the C++ query module API
2023-09-04 16:17:43 +02:00
Antonio Filipovic
7f2a19423b Merge branch 'master' into fix-trigger-for-deleted-api-issue 2023-09-04 15:51:39 +02:00
imilinovic
63a90a6088 remove unnecessary imports 2023-09-04 09:15:42 +02:00
imilinovic
abfdae0275 add trigger support 2023-09-04 09:09:35 +02:00
imilinovic
c947095148 add unit tests 2023-09-04 00:05:21 +02:00
imilinovic
6406c8c891 fix memory leak, add ChangeTo 2023-09-03 23:22:08 +02:00
imilinovic
49cacc515a return edge instead of void 2023-09-03 20:56:01 +02:00
imilinovic
5933096113 change from edge draft 2023-09-03 19:08:05 +02:00
Gareth Andrew Lloyd
9661c52179 Introduce a reader writer spin lock (#1187)
It is possible for multiple read only queries to be accessing the same
sequence of vertices/edges. The reader mode of the spin lock will ensure
multiple threads can make progress at the same time.
2023-09-01 14:21:15 +01:00
Gareth Andrew Lloyd
e928eed028 Replication refactor (part 4) (#1211)
More refactoring to isolate generic replication behavior. Making the 
InMemory* types even more decoupled from replication logic.
2023-08-31 16:06:44 +01:00
Josipmrden
eb5167dfef Add high write set property workload (#1172) 2023-08-31 14:46:35 +02:00
Josipmrden
b952139973 Add supernode performance workload (#1171) 2023-08-30 15:19:52 +02:00
andrejtonev
28dbcd1545 Add disk storage to e2e tests (#1202)
* Add disk storage to e2e tests

---------

Co-authored-by: Andi Skrgat <andi8647@gmail.com>
2023-08-30 13:42:11 +02:00
imilinovic
45b8b8b055 Merge branch 'master' into fix-trigger-for-deleted-api-issue 2023-08-29 22:04:28 +02:00
Matija Pintarić
d516e40841 Add ToString on C++ API mgp types(#1140) 2023-08-29 17:30:23 +02:00
antoniofilipovic
b9df17b86a fix bug on API when using accessor marked with for_deleted_ž 2023-08-29 16:04:19 +02:00
Andi
a6ec81b179 Add deterministic disk vertex_count and edge_count (#1146)
* Add exact vertex_count and edge_count to disk storage
2023-08-29 13:07:23 +02:00
andrejtonev
c526ff2a8f [master < ] Remove DbAccessor from non-transactional queries (#1201)
* Decouple non-transactional queries from DbAccessor
* Invalidate auth cache after AuthQuery

Co-authored-by: Gareth Lloyd <gareth.lloyd@memgraph.io>
2023-08-29 11:13:42 +02:00
Aidar Samerkhanov
5f509532f2 Add timestamp to DELETE_DESERIALIZED_OBJECT delta at which this object was created. (#1179)
Add timestamp to DELETE_DESERIALIZED_OBJECT delta at which this object was created.
RocksDB currently doesn't provide timestamp() functionality in iterators of TransationDB.
Because of that we are using constant "0" timestamp for DELETE_DESERIALIZED_OBJECT.
2023-08-28 10:56:17 +04:00
Andi
4b3ba908c7 Code improvements on disk storage (#1153)
* Improvements based on a code review

---------

Co-authored-by: Aidar Samerkhanov <aidar.samerkhanov@memgraph.io>
2023-08-26 14:16:12 +02:00
Andi
030b554ffd Improve concurrency control for on-disk storage (#1154)
* Remove locking vertices and serialization checks
---------

Co-authored-by: Aidar Samerkhanov <aidar.samerkhanov@memgraph.io>
2023-08-25 14:42:52 +02:00
Gareth Andrew Lloyd
4bc5d749b2 Refactor replication, part 3 (#1177)
Changes to make replication code agnostic of the storage kind being used.

Co-authored-by: Andreja Tonev <andreja.tonev@memgraph.io>
2023-08-25 10:52:07 +01:00
imilinovic
a426ef9cc3 Add Relationship::RemoveProperty to C++ query module API (#1156) 2023-08-24 12:14:00 +02:00
Ante Pušić
60e167d676 Optimize index and constraint updates (#1159) 2023-08-23 14:52:44 +02:00
Ante Pušić
3f8befde79 Bump PyYAML version (#1174) 2023-08-23 12:48:17 +02:00
andrejtonev
9355e58e73 Decoupling replication logic from InMemoryStorage (#1169) 2023-08-22 13:29:25 +02:00