Commit Graph

3740 Commits

Author SHA1 Message Date
Ante Pušić
d5d101e7dc Add text indices to storage info 2024-02-03 12:45:11 +01:00
Ante Pušić
cdf7b53aa7
Merge branch 'master' into text-search-integration-poc 2024-01-31 00:55:46 +01:00
Ante Pušić
a278ae1139 Apply interpreter code suggestion 2024-01-31 00:26:23 +01:00
Marko Barišić
a9ef28c68e
Upgrade deprecated github actions (#1673)
* upgrade actions/checkout from v3 to v4

* upgrade actions/upload-artifact from v3 to v4

* upgrade actions/download-artifact from v2 and v3 to v4

* Fix duplicate artifact names in diff.yaml

* Fix duplicate artifact names in release_debian10.yaml and release_ubuntu2004.yaml
2024-01-30 22:52:56 +01:00
Ante Pušić
19642595e3 Fix typo 2024-01-30 20:02:24 +01:00
Marko Barišić
79361e9205
Disable e2e tests in all workflows (#1677)
* Disable e2e tests in diff.yaml

* Disable e2e tests in release builds
2024-01-30 19:37:00 +01:00
Ante Pušić
73cb1811e0 Fix unit tests 2024-01-30 19:35:53 +01:00
Ante Pušić
be561bb5d6 Check whether text search is enabled, fix calls accordingly and set default values for the update_text_index parameter 2024-01-30 19:35:31 +01:00
Gareth Andrew Lloyd
97b1e67d80
Fix auth durability (#1644)
* Change auth durability to store hash algorithm
* Add Salt to SHA256
2024-01-30 18:17:05 +00:00
Ante Pušić
212ed5830f Remove superfluous comment 2024-01-30 16:14:26 +01:00
Ante Pušić
b04e40984d Add note for future work 2024-01-30 16:09:20 +01:00
Ante Pušić
59b83d003f Tidy up code 2024-01-30 11:18:17 +01:00
Ante Pušić
ff69a891d8 Fix syntax errors 2024-01-30 10:45:37 +01:00
Ante Pušić
857dbfb84e Add work on durability 2024-01-29 16:50:22 +01:00
Andi
78a88737f8
HA: Add automatic failover (#1646)
Co-authored-by: antoniofilipovic <filipovicantonio1998@gmail.com>
2024-01-29 15:34:00 +01:00
andrejtonev
ff44d68843
Simplify auth::Auth (#1663)
Moved various auth flags under a single config
Moved all regex logic under auth::Auth
2024-01-29 12:52:32 +00:00
Ante Pušić
3e7e0d896c Add text index information to DUMP DATABASE and make it extensible 2024-01-29 12:07:09 +01:00
Marko Barišić
f1484240a0
Make release CI predictable (#1658)
* Move stress test large to a separate workflow
* Combine Debian10 and Ubuntu20.04 stress tests into one workflow
* Remove BigMemory tag from release_debian10
* Move e2e tests to a separate job
* Move debug interation tests to a separate job
* Move release durability and stress tests to a separate job
* Move release benchamarks to separate job
* Add 90 min timeout restriction to all jobs
* Move env variables to workflow level
* Move BUILD_TYPE env var to workflow level
---------

Co-authored-by: Aidar Samerkhanov <aidar.samerkhanov@memgraph.io>
2024-01-26 17:01:25 +01:00
Marko Barišić
1c95c3dc59
Add step to refresh jepsen cluster before test (#1667)
refresh jepsen during diff workflow
2024-01-26 10:50:03 +00:00
Gareth Andrew Lloyd
9f7118d893
Performance tuning based on stress test (#1572)
Minor changes that speedup the large stress test.
Also now uses a stop token for a more productive shutdown. No need to wait for expensive GC runs.
2024-01-25 17:14:58 +00:00
Andi
38ade99652
HA: Add coordinator to replication cluster (#1608) 2024-01-24 13:07:51 +01:00
DavIvek
6706ebfa2b
Add support for query parameters in return limit (#1654) 2024-01-23 19:17:27 +01:00
Gareth Andrew Lloyd
e7f6a5f4f4
Fix SkipList iterators (#1635)
Fix SkipList iterators and find methods to be as expected by normal C++ iterator usage
2024-01-23 15:31:28 +00:00
Ante Pušić
b24afcde0a Shorten demo build time 2024-01-23 15:47:46 +01:00
Ante Pušić
9486c3fc47 Add query module CMakeLists 2024-01-23 15:37:01 +01:00
Ante Pušić
f61bf766bb Use the correct branch of mgcxx 2024-01-23 13:15:37 +01:00
Ante Pušić
55fd6dcc75 Optimize index creation 2024-01-23 12:21:29 +01:00
andrejtonev
071df2f439
Replication refactor part 7 (#1550)
* Split queries into system and data queries
* System queries are sequentially executed and generate separate transaction deltas
* System transaction try locks for 100ms
* last_commited_system_ts saved to DBMS durability
* Replicating CREATE/DROP DATABASE
* Sending a system snapshot if REPLICA behind
* Passing a copy of the gatekeeper::access as std::any to all functions that could call an async execution
* Removed delete_on_drop flag (we now always delete on drop)
* Using UUID as the directory name for databases
* DBMS durability update (added versioning and salient information)
* Automatic migration from previous version
* Interpreter can run some queries without a target database
* SHOW REPLICA returns the status of the currently active DB
* Returning UUID instead of db name in the RPC responses
* Using UUIDs for database specification in RPC (not name)
* FrequentCheck forces update on reconnect
* TimestampRpc will detect if a replica is behind, and will update client's state
* Safer SLK reads
* Split SHOW DATABASES in two SHOW DATABASES (list of current databases) and SHOW DATABASE a single string naming the current database

---------

Co-authored-by: Gareth Lloyd <gareth.lloyd@memgraph.io>
2024-01-23 12:06:10 +01:00
Gareth Andrew Lloyd
7f10636470
Bugfix don't use _Py_IsFinalizing (#1657)
This is an unstable function and would bump our dependency to python 3.7
2024-01-22 16:14:41 +00:00
Ante Pušić
04410d242b Fill out tests 2024-01-22 13:45:59 +01:00
Ante Pušić
c7be58e1dc Improve tests 2024-01-22 10:28:29 +01:00
Ante Pušić
2ef9d81a63 Add clarification 2024-01-22 10:28:01 +01:00
Ante Pušić
db3991db8f Support indexing a wider range of property types 2024-01-22 10:27:47 +01:00
Ante Pušić
5f2de50d28
Merge branch 'master' into text-search-integration-poc 2024-01-22 09:04:59 +01:00
Ante Pušić
c2824e3dc0 Add transaction IDs to Tantivy metadata 2024-01-22 09:04:21 +01:00
Ante Pušić
1334a631b3 Fix expecting exceptions in pytest tests 2024-01-22 09:03:50 +01:00
Marko Barišić
76589903a4
Update BSL license change date (#1656) 2024-01-21 22:33:46 +01:00
Marko Budiselić
a8b625d861
Add NuRaft ADR (#1634)
Co-authored-by: Andi <andi8647@gmail.com>
2024-01-19 22:30:51 +01:00
andrejtonev
9c89fce249
Bugfix: Shutdown blocks due to wrong execution order (#1649)
* Bugfix: Destorying settings before stopping license checker
* Bugfix: Python GC running while shutting down
2024-01-19 17:05:47 +00:00
Ante Pušić
456074e3cf
Merge branch 'master' into text-search-integration-poc 2024-01-19 12:13:05 +01:00
Ante Pušić
b7bc9c651e Remove one extraneous import more 2024-01-19 00:32:19 +01:00
Ante Pušić
7b77981796 Remove the mgcxx mock 2024-01-19 00:31:01 +01:00
Ante Pušić
e4e3044fce Remove extraneous comments and #includes 2024-01-19 00:30:15 +01:00
Ante Pušić
0571da7116 Add error handling attempt 2024-01-19 00:08:56 +01:00
Ante Pušić
64dcc2c60a Add missing calls for removing deleted nodes from text indices 2024-01-18 19:45:20 +01:00
Ante Pušić
e16c4a0208 Rename mgcxx namespace and fix Rust → C++ string handling 2024-01-18 17:38:33 +01:00
Ante Pušić
c60b66fde7 Improve tests 2024-01-18 01:51:28 +01:00
Ante Pušić
2df3b09019 Add more CRUD operations 2024-01-18 01:50:57 +01:00
Ante Pušić
809a990cd5 Add error message 2024-01-18 01:49:22 +01:00
Ante Pušić
88f8a0ae68 Add most of CRUD 2024-01-17 21:48:57 +01:00