Commit Graph

3851 Commits

Author SHA1 Message Date
Ante Pušić
ddc628c271
Merge branch 'master' into text-search-integration-poc 2024-02-29 13:39:43 +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
Ante Pušić
c76864a877
Merge branch 'master' into text-search-integration-poc 2024-02-27 16:46:07 +01: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
Ante Pušić
dbd0fe4f86
Merge branch 'master' into text-search-integration-poc 2024-02-27 11:03:40 +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
Ante Pušić
9c31408aa8 Fix typo 2024-02-24 21:37:12 +01:00
Ante Pušić
444c1be7a2 Remove unnecessary #include 2024-02-24 21:37:02 +01:00
Ante Pušić
a1b1eb1255
Merge branch 'master' into text-search-integration-poc 2024-02-24 13:04:48 +01: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
Ante Pušić
26229a2a0e
Merge branch 'master' into text-search-integration-poc 2024-02-21 23:38:45 +01:00
Ante Pušić
f84cdbd4fa Replace empty strings with std::nullopt 2024-02-21 23:38:35 +01:00
Ante Pušić
6db081395c Clarify tests that shouldn’t raise exceptions 2024-02-21 23:12:30 +01:00
Ante Pušić
aae9887f57 Rework tests that shouldn’t raise exceptions 2024-02-21 23:11:14 +01:00
Ante Pušić
86bc945666 Remove redundant methods & add is-enabled checks 2024-02-21 22:44:30 +01: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
Ante Pušić
7574d3e2a8 Remove unused method and clear up #includes 2024-02-21 09:34:48 +01:00
Ante Pušić
960857af41 Make test buildable 2024-02-20 19:51:38 +01:00
Ante Pušić
f82c63ce44 Remove redundant std::visit 2024-02-20 19:48:53 +01:00
Ante Pušić
55277cd135 Fix flags after merging 2024-02-20 19:48:37 +01:00
Ante Pušić
d720315ed4
Merge branch 'master' into text-search-integration-poc 2024-02-20 11:34:37 +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
Ante Pušić
511de573db Make default values explicit 2024-02-19 16:29:54 +01:00
Ante Pušić
3353b9589d Use exception instead of runtime error 2024-02-19 16:16:39 +01: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
Ante Pušić
0490319d3a Apply review suggestions 2024-02-19 11:52:30 +01:00
Andi
f3574012c5
Add cpp23 support (#1726) 2024-02-19 10:36:51 +00:00
Ante Pušić
26d6eb668e Remove comment 2024-02-18 19:57:47 +01:00
Ante Pušić
c14e14dde5 Add e2e tests for disabled text search 2024-02-18 19:47:13 +01:00
Ante Pušić
260221faaa Simplify the text search module 2024-02-18 19:46:49 +01:00
Ante Pušić
30522ccaf1 Switch to experimental flags 2024-02-18 19:35:10 +01:00
Ante Pušić
d00a18172f Simplify repeated logic 2024-02-18 18:42:38 +01:00
Ante Pušić
5724708db7 Add tests for (non)existent text indices 2024-02-18 18:41:53 +01:00
Ante Pušić
d7fc3bb65a Fix text index existence error messages 2024-02-18 18:20:06 +01:00
Ante Pušić
00bdd8ac96 Fix inconsistencies in text index updating 2024-02-18 17:54:51 +01:00
Ante Pušić
e1e025f0ed Fix text index metadata in disk storage 2024-02-18 16:15:43 +01:00
Ante Pušić
c40bf89f63 Fix deltas and WAL for text indices 2024-02-18 16:07:03 +01:00
Ante Pušić
903ed3f25a Update notes 2024-02-18 15:53:12 +01:00