Skip to main content

open_list

Function open_list 

Source
pub(crate) fn open_list(
    engine: &Arc<Engine>,
    maps: &[Descriptor],
) -> Result<(BTreeMap<&'static str, Arc<Map>>, Box<[Option<Arc<Map>>]>)>
Expand description

Opens maps from an explicit descriptor list.

Dropped descriptors and column families missing from the engine are skipped. Any failure to open a retained map aborts construction of the index. The second index follows MAPS, with None for dropped or absent families.