Skip to main content

screen_offline_text_docs

Function screen_offline_text_docs 

Source
fn screen_offline_text_docs(text_docs: &[TextIndexDoc]) -> Result<(), DevError>
Expand description

Fail-closed lexical screen for the offline import’s text documents (offline twin of the write-path guard in WriteFanout::insert_quads_rpc): the text plugin indexes every string literal, and the rebuild walk skips lexicals above the limit and refuses to stamp — an oversized document landing here would create a trusted index state the repair command can never reproduce. The whole import fails loudly instead. The offline route has no gRPC wire and no registry length check, so this screen is the only guard on it.