Commit graph

2452 commits

Author SHA1 Message Date
Przemyslaw Hugh Kaznowski
ce6cfb7634
GC live queries when client disconnects () 2023-08-19 10:01:37 +01:00
Rushmore Mushambi
f16ec7f894
Add a Value::Query variant () 2023-08-18 23:51:56 +01:00
Przemyslaw Hugh Kaznowski
60b6cc6c75
Test for kill ws ()
Co-authored-by: Salvador Girones <salvadorgirones@gmail.com>
2023-08-18 15:21:01 +00:00
Tobie Morgan Hitchcock
44dabfa9d2
Improve DEFINE and REMOVE statements code () 2023-08-18 14:21:02 +01:00
Salvador Girones Gil
c514c39e9d
[ws-tests/lq] Fix the LQ tests and account for unordered WS messages () 2023-08-18 14:16:02 +01:00
Yusuke Kuoka
41c9fd701e
Add ns/db/tb IDs for aliasing () 2023-08-18 09:00:06 +01:00
Yusuke Kuoka
a242d21d94
feat: Ability to show changes using timestamp () 2023-08-18 08:17:54 +01:00
Salvador Girones Gil
22f4c44989
[ci] Fixes for cli_integration. Debugging for websocket tests () 2023-08-18 08:16:13 +01:00
Tobie Morgan Hitchcock
b2b51b54b1
Add versioned data storage serialisation () 2023-08-17 19:03:46 +01:00
Przemyslaw Hugh Kaznowski
983ec1ba63
Add tx commits () 2023-08-16 18:56:17 +01:00
Przemyslaw Hugh Kaznowski
bba2420503
Resolve assert to unwrap () 2023-08-16 14:31:39 +01:00
Salvador Girones Gil
3b26ad2a44
[rpc] Add WebSocket metrics () 2023-08-16 13:27:53 +01:00
Salvador Girones Gil
4288d9f188
[integration-tests] Improvements. Increase timeout for WS () 2023-08-14 15:36:27 +00:00
Przemyslaw Hugh Kaznowski
d4b2ba9999
Add a commit to tb.rs () 2023-08-14 13:27:27 +01:00
Przemyslaw Hugh Kaznowski
150b303da9
Fix cluster init () 2023-08-14 13:27:03 +01:00
Przemyslaw Hugh Kaznowski
d9eaf0eaa3
Add warning log for dropped uncommitted write transactions ()
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-08-12 22:01:27 +00:00
Przemyslaw Hugh Kaznowski
ef75fc2a66
Add test for delete with live query predicates () 2023-08-11 23:22:53 +00:00
Rushmore Mushambi
78808bb44c
Refactor Lazy::new(|| Surreal::init()) to Lazy::new(Surreal::init) () 2023-08-11 22:11:24 +00:00
Przemyslaw Hugh Kaznowski
8678377efd
Refactored ds.rs to re-use and close write transaction () 2023-08-11 19:30:44 +01:00
hchockarprasad
8b1cb5ee1f
Fix merging of empty objects & arrays () 2023-08-11 15:47:54 +00:00
Tobie Morgan Hitchcock
620d01f06a
Ensure TiKV cluster is clean before running tests () 2023-08-11 11:50:48 +00:00
Yusuke Kuoka
ceb603ee33
Fix CF GC / node::init to actuallly run on start () 2023-08-11 09:42:08 +00:00
meppu
1a0116332a
Implement all JSON Patch operations () 2023-08-10 06:38:46 +00:00
Rushmore Mushambi
61f4580ba8
Switch to std::sync::OnceLock and fix Surreal::clone () 2023-08-10 06:33:38 +00:00
Raphael Darley
4ae1a0d1a9
Allow more export options ()
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-08-09 12:15:20 +00:00
Przemyslaw Hugh Kaznowski
87705098ab
Change kill id type to value ()
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-08-08 17:15:01 +00:00
Salvador Girones Gil
94f7fc01e7
[cargo] Use the surrealdb-tikv-client published to crates.io () 2023-08-08 16:41:45 +00:00
Yusuke Kuoka
77d11146e5
Use monotonic versionstamps with TiKV for now () 2023-08-08 16:07:31 +00:00
Przemyslaw Hugh Kaznowski
abbf9819c4
Add tests for Live Queries over web sockets ()
Co-authored-by: Salvador Girones <salvadorgirones@gmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-08-04 17:43:23 +00:00
Salvador Girones Gil
c48cc4affc
[release] Harden the release process. Fix the Docker image () 2023-08-04 15:39:50 +00:00
Salvador Girones Gil
e91011cc78
[rpc] Better tracing for WebSockets () 2023-08-03 14:59:05 +00:00
Salvador Girones Gil
ab72923fb5
[import] Provide descriptive error messages () 2023-08-03 14:06:08 +00:00
Salvador Girones Gil
5f9b79162b
[ci] Intruduce cargo-make to dry the workflows. Get rid of unused deps () 2023-08-03 10:55:06 +01:00
Aly
7221d8cae9
Fix setting id using arbitrary record IDs () 2023-08-01 18:47:08 +00:00
Mees Delzenne
57ff2443f1
Script function fixes () 2023-08-01 18:03:17 +00:00
Emmanuel Keller
ecba885eb8
Feat: btree serialisation + generic read/write tree cache () 2023-08-01 09:57:05 +00:00
Rushmore Mushambi
20925d1f1e
Make Config simpler () 2023-08-01 08:34:22 +00:00
Emmanuel Keller
b485d9cc3d
Feat: Support of (un)flattened fields in indexing () 2023-08-01 07:30:13 +00:00
Rushmore Mushambi
bb8c1cd478
Return an error when the server version is incompatible with the SDK () 2023-08-01 07:27:10 +00:00
Salvador Girones Gil
d4f5bc937e
[iam] Restore $auth. Allow user-token signin for root users () 2023-07-31 16:06:40 +00:00
Mees Delzenne
c9078a116e
Add the value function for easy access to SurrealQL parameters and values. ()
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-29 21:16:48 +00:00
Ayushman Singh Chauhan
f1df36c0d4
📜docs: Fix Typo () 2023-07-29 20:26:58 +00:00
Salvador Girones Gil
998b263517
[iam] RBAC and multiple root users ()
Co-authored-by: Przemyslaw Hugh Kaznowski <hughkaznowski@protonmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-29 18:47:25 +00:00
hchockarprasad
e61db5564c
Remove unused fuzz dict () 2023-07-29 18:38:53 +00:00
Yusuke Kuoka
860796ba86
Add Change Feeds GC () 2023-07-29 08:51:30 +00:00
Yusuke Kuoka
89a9ac4168
Use non-monotonic versionstamps with TiKV by default () 2023-07-29 08:42:09 +00:00
Finn Bear
5f0aaa0973
Bugfix - allow keyword as ident prefix. () 2023-07-27 08:14:55 +00:00
Raphael Darley
c25b85669b
feature: Add config for query/transaction timeout and notifications () 2023-07-26 11:54:48 +00:00
Mees Delzenne
278e27db87
Implement support for running queries in script functions. () 2023-07-26 07:54:07 +00:00
Rushmore Mushambi
d39c02a8e3
Don't skip running Nix on main () 2023-07-25 21:36:31 +00:00