Skip to main content

open_table

Function open_table 

Source
pub fn open_table(path: &Path) -> Result<MappedTable>
Expand description

Open one table of a block with no buffer copies.

This is a blocking call that can take a hard page fault. It must never run on a tokio worker: a cold fault stalls the whole OS thread with no yield point and no signal to the runtime. Callers go through spawn_blocking or a dedicated reader pool.