16a9825e32
fix libsql_replication underscore in Cargo.toml
2024-01-09 18:14:20 +01:00
441ec86e67
treewide: add opt-in passphrase
param for encryption at rest
...
You can now choose a passphrase and use it (plain text for now, sorry)
to set up an encryption-at-rest key.
Example:
cargo run -F encryption-at-rest -- --passphrase pekka
2024-01-09 18:12:03 +01:00
1557594e35
libsql-server,libsql-sys: move encryption to a feature
...
It's only enabled with `cargo build -F encryption-at-rest`.
2024-01-09 18:12:02 +01:00
4db7a4ce3d
Merge pull request #815 from tursodatabase/lsnn
...
libsql: add an introspective libsql_server_namespace_name() function
2024-01-09 13:52:29 +00:00
f746ee823e
Merge pull request #869 from tursodatabase/lucio/fixes-for-release
...
libsql: final prep for libsql release
2024-01-08 20:16:59 +00:00
7902fadbd9
libsql: final prep for libsql release
2024-01-08 15:04:13 -05:00
f38d1dec5d
Merge pull request #866 from tursodatabase/fix-replica-lazy-creation
...
Fix lazy namespace creation on replica
2024-01-08 15:43:55 +00:00
c18f664d50
Merge pull request #859 from tursodatabase/string-replication-index
...
Return/accept replication index as string
2024-01-08 15:11:04 +00:00
b4428e85f9
fix replica namespace lazy creation
2024-01-08 16:09:06 +01:00
16f27799bc
server: prepare v0.22.11 release
2024-01-05 11:43:00 -05:00
08433e967f
server: add server count metric
2024-01-05 11:41:41 -05:00
60d56e093c
sqld: release v0.22.10
2024-01-05 11:40:49 -05:00
64e9397ddd
sqld: add version label
2024-01-05 11:40:46 -05:00
938efdae90
sqld: use debug for error messages
2024-01-05 11:39:43 -05:00
4ad37fd670
prepare: v0.22.9 release
2024-01-05 11:39:43 -05:00
086bc0d263
bump libsql-server to v0.22.8
2024-01-05 11:39:43 -05:00
c2661c4bb0
return replication index as string
2024-01-05 14:48:54 +01:00
99c5b0061f
libsql: prepare crates for publishing
2024-01-04 14:38:42 -05:00
40119d801d
Merge pull request #820 from tursodatabase/durable-meta-store
...
Backup metastore
2024-01-04 10:04:25 +00:00
1403601779
review changes
2024-01-04 10:54:35 +01:00
5971b9894b
Merge pull request #775 from tursodatabase/fix-blocking-builder-write-proxy
...
Fix blocking ResultBuilder in WriteProxy
2024-01-03 09:58:10 +00:00
a910b34d27
add test
2024-01-03 10:47:36 +01:00
e9354400d3
fix blocking result builder
2024-01-03 10:47:07 +01:00
4b56badb06
Merge pull request #849 from tursodatabase/fix-deser
...
Fix bincode deserialize error
2024-01-02 19:30:44 +00:00
34fb84f2ba
Merge pull request #850 from psarna/clifix65
...
clippy fixes
2024-01-02 13:30:10 +00:00
8d66466ab2
clippy fixes
...
... some are still left, related to https://github.com/rust-lang/rust-clippy/issues/5812
2024-01-02 14:18:04 +01:00
a0fe61c591
Merge pull request #799 from tursodatabase/hrana-pipeline-return-replication-index
...
return replication index in hrana StmtResp
2024-01-02 12:26:31 +00:00
70ea955b68
fix bincode deserialize error
2024-01-02 13:20:40 +01:00
16c20fbdc6
test embedded replica proxy query returning value
2024-01-02 13:20:40 +01:00
9596666518
return replication index in hrana StmtResp
2024-01-02 13:16:27 +01:00
a7fb619e4d
Merge pull request #836 from tursodatabase/count-replication-latencies-cache-misses
...
Count replication latencies cache miss
2024-01-02 12:16:18 +00:00
778f6d1227
count replication latency cache misses
2024-01-02 13:03:59 +01:00
092487b9a1
libsql: add an introspective libsql_server_database_name() function
...
With that, you can query your database name -- and that can be useful
as a helper function when joining results from queries that span
databases.
2024-01-02 11:56:03 +01:00
7b3be1be22
Remove Authenticated::is_anonymous
...
Authenticated::is_namespace_authorized already returns false
when Authenticated::is_anonymous() == true.
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com >
2024-01-01 12:16:55 +01:00
4130b792c9
libsql-sys: bring back unix-excl-vfs feature
...
It forces the unix-excl VFS to be used for connections, which makes
the library work in environments without shared memory or file locks.
Fixes #833
2023-12-30 16:08:18 +01:00
3bdc80bdbe
make replication latency cache configurable
2023-12-27 15:04:45 +01:00
81548114f1
configurable replication latency cache size
2023-12-27 14:47:10 +01:00
a6023f6f43
Add a metric for out-of-sync replication values
...
Makes debugging replication latency issues easier.
2023-12-27 12:38:34 +02:00
88217e43a1
send commit timestamp to replicas to compute replication latencies
2023-12-26 11:17:10 +01:00
25a8cf7255
record replication latency in replicas
2023-12-26 11:16:53 +01:00
ded615ba53
fmt
2023-12-21 18:38:44 +01:00
50702ebfd6
document backup cli args
2023-12-21 18:38:14 +01:00
8b67e1fc7b
fix shutdown
2023-12-21 18:31:37 +01:00
5756db477c
backup metastore
2023-12-21 18:31:21 +01:00
2c2143c828
simplify ReplicationWal
2023-12-21 18:29:53 +01:00
d8541f8d00
add metastore config
2023-12-21 18:26:51 +01:00
59ee522bec
one of those painful rebases: part I
2023-12-19 09:55:02 +01:00
51de23b04b
namespace: add bottomless checks in exists()
...
Even if the namespace doesn't exist locally, it might have a functional
backup.
2023-12-19 09:55:02 +01:00
355e298898
namespace: print cache eviction reason in debug logs
2023-12-19 09:55:02 +01:00
c82d96c0f5
namespace: bump time_to_idle to a very high value
...
... for testing purposes only
2023-12-19 09:55:02 +01:00