async fn close_online_text_import(
compute: &ComputeNode,
bracket: Option<TextImportBracket>,
load_succeeded: bool,
) -> Result<(), DevError>Expand description
Release the bracket (bracket_online_text_import). Stamps the epoch
only when the load succeeded AND the index read trusted at begin: a
begin against an untrusted index plus this load’s documents is exactly
a partial index, and stamping it would declare trust over the
pre-existing rows the index never saw (the trusted-but-incomplete
state). Untrusted → release without stamping; the next startup build
owns the epoch. A FAILED import always releases without stamping — the
index must not read trusted over an import that did not complete.