Referenced by1
Labels1

Referencing ideas

IdeaStatusTagsSummaryKatz
batched_document_upsertdonePersist N extracted documents in one SQLite transaction ( `BEGIN` … `COMMIT` ). Each document still replaces its ideas and edges the same way as a single-file upsert. Soft sync may call this after extract so many changed files share one commit. Empty code files may write nothing; batching helps when many files do persist. On error or cancel of the batch write: fail the whole batch and roll back. Do not commit a successful prefix. Same atomicity as multi-document delete. Single-file upsert stays for watcher incremental ( [sequencing.watcher_incremental] ). Related: [index_cache_reuse], [sequencing.soft_sync], [ideas_schema.documents_table], [nonblocking_index].0.049

Reference labels

batched_document_upsert