Skip to main content

Module utils

Module utils 

Source

Modules§

tracking_store
Make assertions about IO operations to an ObjectStore.

Structs§

CachedFileSize
A cached file size.

Constants§

METADATA_READ_CHUNK_SIZE
Chunk size for splitting a large metadata read into concurrent range requests.

Functions§

read_last_block
read_message
Read a protobuf message at file position ‘pos’.
read_message_from_buf
Read protobuf from a buffer.
read_metadata_offset
read_range_in_chunks
Read range from reader as chunk_size-sized concurrent range requests, yielding the chunks in file order. Concurrency is bounded by Reader::io_parallelism, clamped to at least 1: a buffered(0) window never polls its input, so an unvalidated reader value (e.g. LANCE_URING_IO_PARALLELISM=0) would hang the read.
read_struct
Read a Protobuf-backed struct at file position: pos.
read_struct_from_buf
Read a Protobuf-backed struct from a buffer.
read_version
Read the version from the footer bytes