Skip to main content

Module region_manager

Module region_manager 

Source
Expand description

Region file manager with seek-based chunk access.

Uses a sector-based format where only the header (8KB) is kept in memory. Chunk data is read on-demand from disk and converted directly to runtime format, avoiding memory duplication.

Structs§

CorruptChunkData 🔒
PreparedChunkSave
Prepared chunk data ready to be saved asynchronously. Created by prepare_chunk_save during the holder’s snapshot-preparation phase.
RegionHandle 🔒
An open region file with its header.
RegionManager
Manages region files with seek-based chunk access.