Skip to main content

Crate wombatkv_radix

Crate wombatkv_radix 

Source

Re-exports§

pub use block_meta::BlockHash;
pub use block_meta::BlockMeta;
pub use block_meta::InMemoryMetadataIndex;
pub use block_meta::LayoutTag;
pub use block_meta::MetadataIndex;
pub use block_meta::ModelDigest;
pub use slatedb_meta::SlateDbMetaError;
pub use slatedb_meta::SlateDbMetadataIndex;

Modules§

block_meta
BlockMeta + MetadataIndex (RFC 0008).
slatedb_meta
L1 SlateDB-backed MetadataIndex (RFC 0008).

Structs§

BlockHandle
Handle returned to callers for resident blocks.
KeyEncoder
Lightweight key encoder that avoids temporary allocations.
LookupBufferPool
Small pool for recycling lookup buffers and reducing allocator churn.
LookupBuffers
Reusable buffers for allocation-stable lookup execution.
LookupResult
Lookup output contract for the hot path.
MemoryGuardrail
Memory guardrail used to bound in-memory radix footprint.
RadixIndex
Local-memory-only radix-like lookup index for block keys.

Enums§

GuardrailError
Guardrail violations during inserts.
Residency
Residency class for a cached block.

Constants§

BLOCK_KEY_PREFIX
Relative S3 key prefix for content-addressed block payloads. The full S3 key is <s3_prefix>/<namespace>/wombatkv/v1/block/b3=<hex>. Single source of truth shared between wombatkv-cabi (write/read path) and wombatkv-node::block_prefetch (prefetch path). Both call sites MUST use this constant rather than redefining the prefix literal, any skew silently breaks the prefetch worker.
M3_MAX_UNIFIED_MEMORY_BYTES
M3 Max unified memory size used by default guardrail presets.
SIDECAR_RAW_TAIL_KEY_PREFIX
Relative S3 key prefix for raw_tail sidecar payloads. The full S3 key is <s3_prefix>/<namespace>/wombatkv/v1/sidecar/raw_tail/b3=<chain_tip_hex>.

Statics§

IO_GUARD
Global guard used by tests to ensure lookup stays memory-only.

Functions§

crate_id
Returns crate identity for smoke tests.