0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-25 16:50:43 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
4ecf2a5ecd server: fix conflict on attach update ()
* server: fix conflict on attach update

* add tests and add on conflict to other branch

* only error on server errors

* remove test query

* add more on conflicts fixes

* Revert "add more on conflicts fixes"

This reverts commit 9cef2d320e.

* remove replace for meta store inserts
2024-03-20 12:41:05 +00:00
1528128fce allow ddl override () 2024-03-11 15:00:26 +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
37fb629f50 run clippy () 2024-01-31 08:42:20 +00:00
f97a82e9f8 fixing namespaces::delete_namespace uncovers a bug 2024-01-10 07:03:56 +01:00
2801221bac chore: remove extra println 2023-12-13 11:33:27 -05:00
f41979578c server: add stream rexpired hrana test 2023-12-13 11:22:24 -05:00
23c2cbd4ce sqld: Add fault and http response metrics 2023-11-28 16:37:03 -05:00
536ce5095c rename(pkg): rename lib to libsql-server, keep bin as sqld 2023-11-17 08:43:05 -06:00
5b1e1c245b Add client version reporting metrics
This commit adds a new `x-libsql-client-version` header emitted by
clients. The server will collect these values and emit them as a
`libsql_client_version{version="libsql-hrana-0.1.11"}`. This also
exposes special doc hidden functions that our other clients that use the
rust one to emit their own metric.

Closes 
2023-11-07 19:39:01 -05:00
0259bf8729 fix basic_metrics test 2023-11-07 16:27:27 -05:00
ab6feaab88 sim-tests: add asserts for metrics 2023-11-03 11:32:41 -04:00
ab354d156a fix embedded replica tests 2023-10-31 09:22:30 -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