179e765410
bump v0.22.21
2024-02-15 10:16:27 -05:00
dafd747cc3
Add --max-concurrent-requests flag ( #1030 )
...
* Add --max-concurrent-requests flag
* Add missing field in test
2024-02-15 10:14:33 -05:00
18ab6f611e
bump 0.22.20
2024-02-13 14:14:41 -05:00
fa9b9fb026
server: add SQLD_MAX_CONCURRENT_CONNECTIONS env var ( #1023 )
2024-02-13 14:14:03 -05:00
02302aaf39
bump v0.22.19
2024-02-12 20:32:58 +01:00
94c2ec0649
bump to 0.22.18
2024-02-12 17:32:45 +01:00
7e36a53b09
chore: bump server to 0.22.17
2024-02-07 14:51:32 -05:00
294ea81a92
limit the number of retries of the busy handler ( #963 )
...
* limit the amount of retries for the lock stealer
* use mutex for `is_stolen`
* unconditionally update state after execute
* shorten watch channel borrow
* fmt
2024-02-07 14:27:23 -05:00
0db03d50a3
query_analysis: allow defer_foreign_keys pragma on primary ( #980 )
...
This pragma is useful for turning off foreign keys as a oneshot
operation within current transaction.
Example from turso shell:
```
→ create table t(id);
→ create table t2(id, v references t(id));
```
```
-- First insert to t2 fails, because t has no row with value (6)
→ pragma foreign_keys=on; begin; insert into t2 values(5,6); insert into t values (6); commit;
Error: SQLite error: FOREIGN KEY constraint failed
```
```
-- First insert doesn't fail, because checking foreign keys is deferred
-- until the transaction finishes
→ pragma foreign_keys=on; begin; pragma defer_foreign_keys=true; insert into t2 values(5,6); insert into t values (6); commit;
OK
```
2024-02-07 14:05:55 -05:00
47464d13bc
use system allocator ( #945 )
2024-01-25 20:15:03 +01:00
4595c4332b
bump libsql-server to v0.22.16
2024-01-25 15:48:32 +01:00
ce2d3782b8
Add UUID to stats
...
This should allow any stats consumer to know when the file has been
lost and the counters should be restarted.
2024-01-24 15:56:46 +01:00
b32d62f2e0
bump sqld to v0.22.15
2024-01-24 15:56:17 +01:00
2931e2b576
bump sqld to v0.22.14
2024-01-18 19:41:55 +01:00
e99cd7766d
make connection concurrency configurable
2024-01-18 19:41:01 +01:00
8665492341
bump libsql-server to 0.22.13
2024-01-18 10:15:13 +01:00
2919db07a0
bump the version to v0.22.12
2024-01-10 20:26:22 +05:30
1ce7bd09fc
server: prepare v0.22.11 release
2023-12-21 11:49:49 -05:00
2c0d54ca8b
server: add server count metric
2023-12-21 11:15:04 -05:00
4afc01ba17
server: fix metrics overflow panic
2023-12-21 10:31:48 -05:00
be02919ed2
sqld: release v0.22.10
2023-12-04 16:03:27 -05:00
8a65caa043
sqld: add version label
2023-12-04 15:35:02 -05:00
d4c116c174
sqld: use debug for error messages
2023-12-04 15:26:44 -05:00
9543ae9fb9
prepare: v0.22.9 release
2023-12-01 12:03:38 -05:00
82ef23b1ce
server: remove dbg! in trace
2023-12-01 12:03:08 -05:00
2f9b888256
bump libsql-server to v0.22.8
2023-11-30 15:50:18 +01:00
0a6dacfc4e
Make snapshot at shutdown opt in
2023-11-30 15:28:31 +01:00
de39b26926
Merge pull request #732 from tursodatabase/bump-libsql-server-0.22.7
...
bump libsql-server to 0.22.7
2023-11-29 16:44:41 +00:00
56bc823021
bump libsql-server to 0.22.7
2023-11-29 17:35:31 +01:00
dcd07bf516
Merge branch 'main' into libsql-transactions
2023-11-29 11:30:29 -05:00
6b923e6656
Merge pull request #728 from Horusiath/bottomless-graceful-shutdown
...
bottomless: wait for all background tasks to complete on graceful shutdown
2023-11-29 15:44:10 +00:00
6252f917b6
call bottomless graceful shutdown when shutting down primary sqld instance
2023-11-29 20:33:33 +09:00
23c2cbd4ce
sqld: Add fault and http response metrics
2023-11-28 16:37:03 -05:00
fc29986354
fixed transaction tests
2023-11-28 10:05:38 +09:00
0c9b19a04a
introduced concepts of streams and transactions to Hrana HTTP
2023-11-28 10:05:38 +09:00
3ff1253b76
Merge pull request #696 from learn-tursodatabase/main
...
libsql had been moved under https://github.com/tursodatabase/libsql
2023-11-27 11:40:48 +00:00
f19b97caba
fmt
2023-11-26 13:57:23 +01:00
bfc21223e7
test sync embedded replica with snapshots
2023-11-26 13:57:21 +01:00
bc1b16d5b9
fmt
2023-11-25 14:36:31 +01:00
911406181b
fix replica re-syncing from 0 on restart
2023-11-25 14:29:26 +01:00
51afddeabe
test embedded replica don't resync from scratch on restart
2023-11-25 14:29:22 +01:00
19c5cb7bb5
libsql had been moved under https://github.com/tursodatabase/libsql
2023-11-24 10:21:25 -06:00
e96be96299
fix embedded replica replication
2023-11-24 14:10:42 +01:00
85abb3b987
add rollback to ReplicationClient
2023-11-23 17:39:28 +01:00
2e7b88fad1
Merge pull request #661 from tursodatabase/improve-replication-error-handling
...
improve replication error handling
2023-11-23 12:30:06 +00:00
5412434add
Merge pull request #493 from tursodatabase/757-bottomless
...
snapshot on scale to zero and shutdown
2023-11-23 07:52:40 +00:00
e09b1b21e6
sqld: prepare v0.22.6 release
2023-11-22 15:23:41 -05:00
490884be39
modified http response code for Hrana's expired stream errors from 500 to 400
2023-11-22 17:33:04 +09:00
499ad76a81
fmt
2023-11-21 20:19:23 +01:00
bcd920d54f
fix flaky replication test
2023-11-21 20:18:56 +01:00