0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-06-15 17:33:38 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
ebf9e0f504 fix bad autocommit ()
* add test

* fix bug when updating autocommit status in write proxy

* fmt
2024-07-09 18:06:57 +00:00
00080c5983 server: add embedded replica stats test for replica () 2024-04-01 20:22:31 +00:00
998d330428 extend test timeout () 2024-03-09 11:39:39 +00:00
954029e31f libsql: add Builder to construct the db ()
This adds a new `Builder` type that can now be used to construct the
`Database` type. This will scale better as we add more varied options.
This commit also deprecates the old builder types and will produce a
warning that will push users to using the new `Builder` type. This will
then allow us to remove the old deprecated constructors at some point in
the future.
2024-02-06 13:59:11 +00:00
c659eb2215 reset replica when injector detects potential corruption ()
* reset replica when injector detects potential corruption

* fmt
2024-02-02 16:33:31 +00:00
67678167ed changed RowsInner API to make next row method async 2024-01-16 08:23:08 +01:00
20df3a18e5 server: add replicated db config 2024-01-09 16:19:30 -05:00
b4428e85f9 fix replica namespace lazy creation 2024-01-08 16:09:06 +01:00
a910b34d27 add test 2024-01-03 10:47:36 +01:00
b1da52c722 server: Add initial MetaStore
This PR adds a new internal metadata store for namespace configuration.
This internally uses a normal namespace so that the replica also get's
synchronized. This is just initial work there are a few more issues to
solve regarding replica's getting updated configs and some internal
hardening that needs to be done. Tracking issue for follow up work .

Closes 
2023-12-12 10:38:45 -05:00
17acd27aa4 treewide: apply clippy
... so that it spams less hints when run locally.
2023-12-04 16:31:36 +01:00
bcd920d54f fix flaky replication test 2023-11-21 20:18:56 +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
536ce5095c rename(pkg): rename lib to libsql-server, keep bin as sqld 2023-11-17 08:43:05 -06:00
675f4d99b8 test replica restart 2023-11-13 16:07:04 +01:00
ab6feaab88 sim-tests: add asserts for metrics 2023-11-03 11:32:41 -04:00
736d077e36 join simulation test creation 2023-10-31 09:22:30 -04:00
71ca43a7b6 make sqld compile 2023-10-17 17:41:26 +02:00