0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-06-17 21:59:05 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
9db13fe48c libsql wal restore ()
* make copy_to_file take ref to file

* turn compacted segment frame_count to u32

* add size after to compacted segment header

* make durable frame_no async

* pass namespace by ref

* add backend to async storage

* add restore to Storage

* add restore to shell

* fix shell bug

* error handling

* fix tests
2024-07-22 09:28:35 +00:00
96a977862d libsql wal refactors ()
* introduce IoBuf::map_slice

* rename db_size to size_after

* introduce Segment trait

* implement Segment for Arc<T>

* make SealedSegment clone

* implement Segment for SealedSegment

* rename bottomless to storage

- introduce `Storage` trait
- rename old `Storage` to `Backend`
- introduce `AsyncStorage` (former bottomless)

* add Storage to WalRegistry

remove namespace resolver from registry

* add async_get to registry

* decouple shared wal from registry

* move CompactedSegment headers to own module

* refactor SegmentList

* add durable frame_no to shared_wal

* make shared_wal checkpoint async

* expose TestEnv

create test environment for libsql-wal

* ignore dead_code

stuff still need to be wired

* let LibsqlWalManager resolve namespace name

* fix tests

* fix libsql-server

* fmt

* fix bench

* fix conflicts

* fmt
2024-07-10 13:20:01 +00:00
fbce426619 Use the namespace resolver to extract namespace ()
* Move `NamespaceName` from `libsql-wal` to `libsql-sys`

* Use the namespace resolver in durable WAL
2024-06-14 17:01:01 +00:00
3f330d6f12 bottomless2: perform store job ()
* implement scheduler

* move bottomless2 to libsql-wal

* add async fs methods

* implement perform job
2024-05-28 19:06:07 +00:00
ad79ef48a2 libsql wal tests ()
* add tests

* add bench
2024-05-24 13:59:17 +00:00