diff --git a/file-store/src/lib.rs b/file-store/src/lib.rs index a9df34288..805a78b72 100644 --- a/file-store/src/lib.rs +++ b/file-store/src/lib.rs @@ -58,6 +58,7 @@ impl FileStore { Ok((uuid, update_file)) } + /// Creates a new temporary update file with the given Uuid. /// A call to `persist` is needed to persist the file in the database. pub fn new_update_woth_uuid(&self, uuid: u128) -> Result<(Uuid, File)> { diff --git a/index-scheduler/src/batch.rs b/index-scheduler/src/batch.rs index 85a5bfe21..bd4d852f7 100644 --- a/index-scheduler/src/batch.rs +++ b/index-scheduler/src/batch.rs @@ -442,7 +442,7 @@ impl IndexScheduler { match batch { Batch::Cancel(_) => todo!(), Batch::DeleteTasks(mut task) => { - // 1. Retrieve the tasks that matched the quety at enqueue-time + // 1. Retrieve the tasks that matched the query at enqueue-time. let matched_tasks = if let KindWithContent::DeleteTasks { tasks, query: _ } = &task.kind { tasks