Gareth Lloyd
78fcb92738
Unwind can now move the list
2024-03-12 16:18:50 +00:00
Gareth Lloyd
bdf5d7633e
Use PoolResource2 in QueryAllocator
2024-03-12 16:18:50 +00:00
Gareth Lloyd
e44bf85576
PoolResource2
2024-03-12 16:18:50 +00:00
Gareth Lloyd
0ab4e0fa53
Better Pool
2024-03-12 16:18:50 +00:00
Gareth Lloyd
37f11a75d4
Use one common allocator for queries
2024-03-12 16:18:50 +00:00
Gareth Lloyd
be66f03cc8
Better CSVReader memory usage
2024-03-12 16:18:50 +00:00
DavIvek
de2e2048ef
Support label creation via property values ( #1762 )
2024-03-12 12:55:40 +00:00
Gareth Andrew Lloyd
a282542666
Optimise ORDER BY, RANGE, UNWIND ( #1781 )
...
* Optimise frame change
* Optimise distinct + orderby memory usage
- dispose collections as earlier as possible
- move values rather than copy
* Better perf, ORDER BY
* Optimise RANGE and UNWIND
* ConstraintVerificationInfo only if at least one constraint
* Optimise TypeValue
* Clang-tidy fix
2024-03-12 00:26:11 +00:00
Josipmrden
462336ff78
Fix early exit for OR expression ( #1738 )
2024-03-11 22:44:15 +01:00
Aidar Samerkhanov
1c71d605ff
Fix PatternVisitor compilation in toolchain-v5 ( #1803 )
2024-03-08 19:20:40 -08:00
Antonio Filipovic
2a5388cea9
Add tests to verify log store works properly ( #1794 )
2024-03-08 15:16:30 +00:00
gvolfing
619b01f3f8
Implement edge type indices ( #1542 )
...
Implement edge type indices (#1542 )
2024-03-08 08:44:48 +01:00
Andi
5ca98f9543
Fix snapshot creation in RSM and forbid multiple leaders ( #1788 )
2024-03-07 17:40:32 +00:00
Aidar Samerkhanov
a099417c56
List Pattern Comprehension planner ( #1686 )
2024-03-07 18:41:02 +04:00
Antonio Filipovic
02325f8673
Fix bug prone add server to cluster behavior ( #1792 )
2024-03-07 11:10:33 +00:00
Katarina Supe
6f849a14df
Update cypherl transform script ( #1701 )
...
* Update cypherl transform script
* Add new script and fix typo
* Add convert to separate files script
---------
Co-authored-by: Marko Budiselić <marko.budiselic@memgraph.com>
2024-03-07 10:04:36 +01:00
Andi
75aad72984
Improve in-memory RAFT state ( #1782 )
2024-03-06 09:16:46 +01:00
Antonio Filipovic
d4d4660af0
Add force sync REPLICA with MAIN ( #1777 )
2024-03-05 16:51:14 +00:00
Andi
1802dc93d1
Improve Raft log serialization ( #1778 )
2024-03-05 07:33:13 +00:00
Andi
822183b62d
Support failure of coordinators ( #1728 )
2024-03-04 07:24:18 +00:00
Antonio Filipovic
33caa27161
Ensure replication works on HA cluster in different scenarios ( #1743 )
2024-03-01 12:32:56 +01:00
Marko Barišić
f316f7db87
Add openssl to MEMGRAPH_BUILD_DEPS for amzn-2 and centos-7 ( #1771 )
2024-02-28 18:21:56 +01:00
Gareth Andrew Lloyd
55f224839e
Do not use UUID_STR_LEN ( #1770 )
...
Older libuuid did not have this macro, we need to publish for older
distro with older libs.
2024-02-28 17:46:03 +01:00
Antonio Filipovic
b561c61b64
HA: Add initial logic for choosing new replica ( #1729 )
2024-02-28 09:57:00 +00:00
DavIvek
b7de79d5a0
Fix schema.node_type_properties() and schema.rel_type_properties() ( #1718 )
2024-02-27 21:40:55 +00:00
Gareth Andrew Lloyd
da898be8f9
Compact Delta 80B -> 56B ( #1747 )
...
Make special structure for old_disk_key. std::optional<std::string> was
40B, which is the largest member of out action union. Replaced with 8B,
structure.
This makes largest member now vertex_edge at 24B, this means Delta is
now only 56B.
🥳 🎉 Now less than a cacheline 🎊 ✨
2024-02-27 17:21:52 +00:00
Gareth Andrew Lloyd
a6fcdfd905
Make GC + snapshot, main lock friendly ( #1759 )
...
- Only IN_MEMORY_ANALYTICAL requires unique lock during snapshot
- GC in some cases will be provide with unique lock
- This fact can be used for optimisations
- In all other cases, optimisations should be done with alternative
check. Not via getting a unique lock
Also:
- Faster property lookup
- Faster index iteration (better conditional branching)
2024-02-27 15:45:08 +01:00
Marko Barišić
e88c7a0aa5
Add jobs for pushing ARM packages ( #1765 )
...
* Add jobs for pushing ARM packages
2024-02-27 12:08:53 +01:00
Marko Barišić
86ff96697d
Minor update to the rc workflow ( #1760 )
...
* Increase ARM build timeout to 120 minutes
* Remove PushToS3 job and make each Package job push to S3 individually
* Expand ARM timeout to 150 minutes for added safety; revert this after release
2024-02-26 22:57:21 +01:00
andrejtonev
f4d9a3695d
Introduce multi-tenancy to SHOW REPLICAS ( #1735 )
...
---------
Co-authored-by: Gareth Lloyd <gareth.lloyd@memgraph.io>
2024-02-26 19:05:49 +00:00
andrejtonev
c2e9df309a
Correctly call driver v1 tests ( #1630 )
2024-02-26 17:28:13 +00:00
andrejtonev
82c47ee80d
GetInfo simplification ( #1621 )
...
* Removed force dir in the GetInfo functions
2024-02-26 14:55:45 +00:00
andrejtonev
6a4ef55e90
Better auth user/role handling ( #1699 )
...
* Stop auth module from creating users
* Explicit about auth policy (check if no users defined OR auth module used)
* Role supports database access definition
* Authenticate() returns user or role
* AuthChecker generates QueryUserOrRole (can be empty)
* QueryUserOrRole actually authorizes
* Add auth cache invalidation
* Better database access queries (GRANT, DENY, REVOKE DATABASE)
2024-02-22 14:00:39 +00:00
Marko Budiselić
98727e0fa0
Update operating systems ( #1371 )
2024-02-22 11:14:48 +01:00
Aidar Samerkhanov
9a20ac494d
In BFS expansion filter by path we should shrink path to restore state prior to expansion only if the path was changed. ( #1745 )
2024-02-22 05:34:08 +00:00
Marko Barišić
e302be98a2
Push successful RC builds to S3 ( #1741 )
...
* Add new workflow which calls release build workflows
* Make the workflow build packages only on RC tags
* Change artifact names to include OS name
2024-02-21 17:08:14 +01:00
Marko Budiselić
61b9bb0f59
Add toolchain-v5 compatibility Revert to C++20 ( #587 )
...
* Upgrade cppitertools, spdlog, fmt, rapidcheck
* Make compilation work on both v4 and v5 toolchains
2024-02-19 21:09:54 +01:00
Andi
7ec648b4ce
Add --experimental-enabled=high-availability ( #1720 )
2024-02-19 16:28:15 +00:00
Marko Budiselić
f098a9d5e3
Patch NuRaft for clang-17 compilation ( #1733 )
2024-02-19 14:50:37 +01:00
Josipmrden
bae3e8a6d3
Add function for property sizes ( #1557 )
...
Add function for property sizes
2024-02-19 13:56:01 +01:00
Andi
f3574012c5
Add cpp23 support ( #1726 )
2024-02-19 10:36:51 +00:00
Gareth Andrew Lloyd
33c400fcc1
Fixup memory e2e tests ( #1715 )
...
- Remove the e2e that did concurrent mgp_* calls on the same transaction
(ATM this is unsupported)
- Fix up the concurrent mgp_global_alloc test to be testing it more precisely
- Reduce the memory limit on detach delete test due to recent memory
optimizations around deltas.
- No longer throw from hook, through jemalloc C, to our C++ on other
side. This cause mutex unlocks to not happen.
- No longer allocate error messages while inside the hook. This caused
recursive entry back inside jamalloc which would try to relock a
non-recursive mutex.
2024-02-16 15:35:08 +00:00
Marko Budiselić
5ac938a6c9
Remove default assignees from issue-bug template ( #1730 )
2024-02-16 14:41:53 +01:00
Andi
3e3224f0a2
Forbid having multiple mains in the cluster ( #1727 )
2024-02-16 11:41:15 +00:00
Antonio Filipovic
bfc756c092
HA: Polish flow for replicas from coordinator ( #1711 )
2024-02-16 10:58:01 +01:00
Marko Barišić
5f2e3f01d0
Turn e2e tests back on for release build workflows ( #1725 )
2024-02-15 16:20:04 +01:00
Marko Barišić
2c774ff09b
Add rules for rc workflows ( #1722 )
2024-02-15 15:33:14 +01:00
Andi
20b47845f0
Forbid writing to cluster-managed main on restart ( #1717 )
2024-02-15 14:07:04 +01:00
Andi
fb281459b9
Add support for unregistering replication instances ( #1712 )
2024-02-14 14:24:59 +00:00
Andi
3a7e62f72c
Forbid branching when registering replica in auto-managed cluster ( #1709 )
2024-02-14 08:02:51 +00:00