Josip Mrden
065c88612d
Add another private section to QueryExecution
2024-03-01 13:21:18 +01:00
Josip Mrden
ed3a8a9328
Add query params execution
2024-03-01 13:19:14 +01:00
Josip Mrden
34f2a1e10b
Change condition on has more rows
2024-03-01 12:57:18 +01:00
Josip Mrden
ce9bba8e83
Add has more for fetching optional result if no more rows to fetch
2024-03-01 12:55:41 +01:00
Josip Mrden
671f51f21d
Row member instead of values
2024-03-01 12:38:30 +01:00
Josip Mrden
60de9e5a25
Add proxy methods to execution row
2024-02-29 18:03:59 +01:00
Josip Mrden
90fa6d9226
Add pull mechanism
2024-02-29 17:54:46 +01:00
Josip Mrden
4d930fb73b
Model execution rows
2024-02-29 12:49:59 +01:00
Josip Mrden
d30a7c70de
Add iterator methods for iteration
2024-02-29 11:49:36 +01:00
Josip Mrden
c0483576db
Add headers iterator
2024-02-29 11:31:33 +01:00
Josip Mrden
6536d3b21d
Add headers as return type
2024-02-28 23:32:52 +01:00
Josip Mrden
ec3ba6a408
Add return value when executing query in mgp
2024-02-28 23:30:06 +01:00
Josip Mrden
1145ea87ad
Add support for headers
2024-02-28 23:23:15 +01:00
Josip Mrden
8fdc199d2b
Implement headers in mgp
2024-02-28 17:08:17 +01:00
Josip Mrden
112c4528d3
Fixed condition for mg assert
2024-02-28 15:13:37 +01:00
Josip Mrden
11299981df
Add mg invoke returning of result
2024-02-28 15:03:55 +01:00
Josip Mrden
2c0fc680de
Created query execution result
2024-02-28 14:56:38 +01:00
Josip Mrden
2b30ba3fef
Update method constness
2024-02-28 14:04:00 +01:00
Josip Mrden
d0babcddc5
Pass user to query execution
2024-02-28 13:39:41 +01:00
Josip Mrden
8ba1f160d4
Add API for executing a query
2024-02-28 13:07:59 +01:00
Josip Mrden
b6a55e534b
Add Interpreter Context as singleton
2024-02-28 10:56:51 +01: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
Gareth Andrew Lloyd
f48151576b
System replication experimental flag ( #1702 )
...
- Remove the compile time control
- Introduce the runtime control flag
New flag `--experimental-enabled=system-replication`
2024-02-13 12:57:18 +00:00
Andi
4a7c7f0898
Distributed coordinators ( #1693 )
2024-02-13 08:49:28 +00:00
Ivan Milinović
7688a1b068
Fix unbound variable causing crash inside subquery ( #1710 )
2024-02-13 01:10:03 +01:00