diff --git a/freva/src/drs/ingest.rs b/freva/src/drs/ingest.rs index 3c1f27039c58926e0d2d2fef6695249467380baf..7d824eff58a132f3449f91b4e88dd0ac7696c331 100644 --- a/freva/src/drs/ingest.rs +++ b/freva/src/drs/ingest.rs @@ -105,7 +105,8 @@ pub async fn ingest<P: AsRef<Path>>( /// This handles crawling the structure's `root_dir` and ingesting any files it finds there are valid for the structure. /// This inserts the files it finds into both files and latest collection within solr. /// -/// Invalid files, whatever the reason they're invalid, will be skipped. +/// Invalid files, whatever the reason they're invalid, will be skipped. Failing to send to solr will result in this +/// ending early with an error. Any files that were already sent to solr will not be cleaned up. async fn ingest_structure( solr: Solr, structure: Structure,