Skip to main content

adopt

Function adopt 

Source
pub fn adopt(
    conn: &Connection,
    chains: &mut BTreeMap<String, Chain>,
    collection: &str,
    kind: &str,
    chain: Chain,
    now_ms: i64,
) -> Result<(), OpError>
Expand description

A joiner keeps the chain it took (take_join): the collection in the log, the chain in the store, and the log’s key epoch where the chain says it is.