Expand description
Content-addressed blob and fenced root stores for immutable index segments.
Enable the turso Cargo feature to use [TursoBlobStore].
Structs§
- BlobId
- A content identifier for immutable blobs.
- DbRoot
- Published durable index-root metadata carrying the write lease
(see
docs/design/log-and-transactor.md). - FsStore
- Filesystem-backed content-addressed blob and fenced root store.
- GcReport
- Result counters from a mark-and-sweep garbage collection pass.
- Memory
Store - In-memory blob and root store for tests and embedded use.
- Segment
Cache - Small read-through segment cache keyed by blob id.
Enums§
- Store
Error - Errors raised by store implementations.
Constants§
- FORMAT_
VERSION - Storage format written by this release.
Traits§
- Blob
Store - Immutable content-addressed blob storage.
- Root
Store - Named root pointer storage with compare-and-swap fencing.
Functions§
- db_
root_ name - Root-store key for a database’s published index root.
- mark_
and_ sweep - Marks blobs reachable from
live_rootsand deletes every unmarked blob. - mark_
and_ sweep_ retained - Marks reachable blobs and deletes only unreachable blobs older than
retentionrelative tonow.
Type Aliases§
- Blob
IdStream - Asynchronous stream of blob identifiers produced by
BlobStore::list.