mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-12-15 17:59:41 +00:00
96a977862d
* 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