0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-06-11 10:56:47 +00:00

1283 Commits

Author SHA1 Message Date
1e97a624c7 Merge pull request from tursodatabase/lucio/fix-replication
libsql: fix embedded replica snapshot handling
2023-11-21 10:22:14 +00:00
4974434288 libsql: fix embedded replica snapshot handling 2023-11-20 18:17:50 -05:00
365d921243 Merge pull request from tursodatabase/lucio/prepare-0.22.5
prepare sqld v0.22.5
2023-11-20 23:08:56 +00:00
f1536a1d78 Update README.md 2023-11-20 16:56:35 -05:00
87f0e1d595 prepare sqld v0.22.5 2023-11-20 16:50:06 -05:00
f8080fa74a run cargo fmt 2023-11-20 15:05:24 -05:00
ed06fe2586 create tempfile within sqld directory 2023-11-20 20:36:26 +01:00
433e09784d review edits 2023-11-20 18:50:36 +01:00
06904ddd6f remove stray dbg! + fmt 2023-11-20 18:41:22 +01:00
b40c2d66c8 add tests 2023-11-20 18:41:22 +01:00
8c65645a37 Non blocking snapshot merger 2023-11-20 18:41:22 +01:00
bc52cc17bf compact pending logs on compactor startup 2023-11-20 18:41:21 +01:00
81ae87cddc fix compaction bug
use a compaction queue instead of compacting a single log at a time, and
fix a bug that was caused by the change of the channel type from a zero
sized crossbeam with a single slot tokio channel.
2023-11-20 18:41:21 +01:00
f602f1cd40 Merge pull request from tursodatabase/lucio/remove-tracing-panic
server: remove tracing-panic
2023-11-20 15:30:25 +00:00
c4748a25bd Merge pull request from tursodatabase/snapshot-injection-bug
snapshot injection bug
2023-11-20 15:16:57 +00:00
0ac4b4cf17 server: remove tracing-panic 2023-11-20 16:16:40 +01:00
dab0f1d219 rebase fixes 2023-11-20 16:05:59 +01:00
0575a34902 fmt 2023-11-20 16:00:57 +01:00
b8de9cfdef add replication from snapshot tests 2023-11-20 16:00:57 +01:00
9fbdedbd11 Notify all waiting connections on transaction end 2023-11-20 15:36:56 +01:00
b0c05e02d2 Merge pull request from ashleygwilliams/cargo-dist-fix
update metadata for releasing w/project renames
2023-11-20 11:49:51 +00:00
aeab0b73e5 optional backtrace on panic 2023-11-17 16:45:27 +01:00
84ee1e80c0 test namespace creation on dirty instance 2023-11-17 08:43:35 -06:00
536ce5095c rename(pkg): rename lib to libsql-server, keep bin as sqld 2023-11-17 08:43:05 -06:00
8b5d6aecd0 Merge pull request from tursodatabase/test-dirty-startup
test namespace creation on dirty instance
2023-11-17 13:54:48 +00:00
ecff30bb65 test namespace creation on dirty instance 2023-11-17 14:45:05 +01:00
072120e3f1 remove unwrap in write proxy 2023-11-17 14:11:51 +01:00
244bfc507e Merge pull request from tursodatabase/lucio/prepare-0.22.4
server: prepare v0.22.4 release
2023-11-16 17:11:12 +00:00
ba1dc573f8 server: prepare v0.22.4 release 2023-11-16 12:02:06 -05:00
f332f9e5d8 server: fix SIGTERM shutdown process 2023-11-16 11:49:13 -05:00
f66a4526a5 fix deadock in lock-stealing 2023-11-16 16:18:07 +01:00
3b53fc2437 Merge branch 'main' into libsql-server-v0.22.x 2023-11-15 13:32:19 -05:00
04f63f5b73 server: prepare v0.22.3 release 2023-11-15 12:30:08 -05:00
9b5d2d6ad8 collect more data about dirty startups 2023-11-15 12:15:15 -05:00
d49a9dbef3 do not attempt to recover empty database 2023-11-15 12:14:36 -05:00
efa02d23f0 collect more data about dirty startups 2023-11-15 18:10:13 +01:00
617353c192 server: add backtrace log on IOError 2023-11-14 11:55:44 -05:00
c0bef53f3b docs: move docs to root of repo 2023-11-14 10:28:20 -05:00
1386fddd00 Stop using context on error
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2023-11-14 16:24:03 +01:00
513ac905e7 Introduce NamespaceBottomlessDbId and NamespaceBottomlessDbIdInit enums
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2023-11-14 16:24:03 +01:00
f2f9d35927 Use correct bottomless_db_id in destroy
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2023-11-14 16:24:03 +01:00
f3ad18b47f Hide NamespaceStore::reset
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2023-11-14 16:24:03 +01:00
a95cba5f6b Use correct bottomless_db_id in fork
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2023-11-14 16:24:03 +01:00
1fecb63176 Remove reset_cb from ForkTask and MakeNamespace::fork
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2023-11-14 16:24:03 +01:00
cab50db572 Add optional bottomless_db_id param to create namespace endpoint
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2023-11-14 16:24:03 +01:00
75e700aaab Add optional bottomless_db_id param to NamespaceStore::create
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2023-11-14 16:24:03 +01:00
69325b3f7d Add optional bottomless_db_id param to MakeNamespace::create
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2023-11-14 16:24:03 +01:00
9f3309bc7a Add optional bottomless_db_id to new_primary
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2023-11-14 16:24:03 +01:00
975f006327 Add optional bottomless_db_id param to try_new_primary
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2023-11-14 16:24:03 +01:00
26676a0594 Add optional namespace_db_id param to make_bottomless_options
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2023-11-14 16:24:03 +01:00