From e3ddf9ef9a8b267604bccb4d46e84c93e546f1c5 Mon Sep 17 00:00:00 2001 From: Tamo Date: Tue, 19 Nov 2024 01:47:42 +0100 Subject: [PATCH] fix the task cancelation --- crates/index-scheduler/src/batch.rs | 79 +++++--------- crates/index-scheduler/src/insta_snapshot.rs | 5 - crates/index-scheduler/src/lib.rs | 100 +++++++++++------- .../cancel_processed.snap | 38 +++++-- .../initial_tasks_enqueued.snap | 4 +- .../aborted_indexation.snap | 4 +- .../cancel_mix_of_tasks/cancel_processed.snap | 51 +++++++-- .../first_task_processed.snap | 4 +- ...rocessing_second_task_cancel_enqueued.snap | 4 +- .../after_dump_register.snap | 4 +- .../cancel_processed.snap | 37 +++++-- .../cancel_registered.snap | 4 +- .../aborted_indexation.snap | 4 +- .../cancel_processed.snap | 39 +++++-- .../cancel_task_registered.snap | 4 +- .../initial_task_processing.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../cancel_processed.snap | 5 +- .../initial_task_processed.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../all_tasks_processed.snap | 4 +- .../document_addition/after_register.snap | 4 +- .../after_the_batch_creation.snap | 4 +- .../once_everything_is_processed.snap | 4 +- .../after_processing_the_batch.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../registered_the_second_task.snap | 4 +- .../before_index_creation.snap | 4 +- .../both_task_succeeded.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../registered_the_second_task.snap | 4 +- .../registered_the_third_task.snap | 4 +- .../1.snap | 4 +- .../2.snap | 4 +- .../after_failing_the_deletion.snap | 4 +- .../after_last_successful_addition.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../registered_the_second_task.snap | 4 +- .../document_addition_batch_created.snap | 4 +- .../document_addition_failed.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../after_adding_the_documents.snap | 4 +- .../after_adding_the_settings.snap | 4 +- .../after_removing_the_documents.snap | 5 +- .../registered_the_document_deletions.snap | 4 +- ...red_the_setting_and_document_addition.snap | 4 +- .../after_register.snap | 4 +- .../index_creation_failed.snap | 4 +- .../after_batch_succeeded.snap | 4 +- .../after_failing_to_commit.snap | 4 +- ...eeded_but_index_scheduler_not_updated.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../task_successfully_processed.snap | 4 +- .../Intel to kefir succeeds.snap | 4 +- .../lib.rs/import_vectors/Intel to kefir.snap | 4 +- .../import_vectors/adding Intel succeeds.snap | 4 +- .../import_vectors/after adding Intel.snap | 4 +- ...ter_registering_settings_task_vectors.snap | 4 +- .../settings_update_processed_vectors.snap | 4 +- .../after_batch_creation.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../registered_the_second_task.snap | 4 +- .../registered_the_third_task.snap | 4 +- .../index_creation_failed.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../processed_the_first_task.snap | 4 +- .../processed_the_second_task.snap | 4 +- .../processed_the_third_task.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../registered_the_second_task.snap | 4 +- .../registered_the_third_task.snap | 4 +- .../first.snap | 4 +- .../fourth.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../registered_the_fourth_task.snap | 4 +- .../registered_the_second_task.snap | 4 +- .../registered_the_third_task.snap | 4 +- .../second.snap | 4 +- .../third.snap | 4 +- .../query_batches_canceled_by/start.snap | 86 +++++++++++++++ .../processed_all_tasks.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../registered_the_second_task.snap | 4 +- .../registered_the_third_task.snap | 4 +- .../lib.rs/query_batches_simple/end.snap | 4 +- .../lib.rs/query_batches_simple/start.snap | 4 +- .../after-processing-everything.snap | 4 +- .../query_batches_special_rules/start.snap | 4 +- .../lib.rs/query_tasks_canceled_by/start.snap | 48 +++++++-- .../processed_all_tasks.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../registered_the_second_task.snap | 4 +- .../registered_the_third_task.snap | 4 +- .../lib.rs/query_tasks_simple/end.snap | 4 +- .../lib.rs/query_tasks_simple/start.snap | 4 +- .../query_tasks_special_rules/start.snap | 4 +- ...everything_is_successfully_registered.snap | 4 +- .../lib.rs/swap_indexes/create_a.snap | 4 +- .../lib.rs/swap_indexes/create_b.snap | 4 +- .../lib.rs/swap_indexes/create_c.snap | 4 +- .../lib.rs/swap_indexes/create_d.snap | 4 +- .../swap_indexes/first_swap_processed.snap | 4 +- .../swap_indexes/first_swap_registered.snap | 4 +- .../swap_indexes/second_swap_processed.snap | 4 +- .../third_empty_swap_processed.snap | 4 +- .../swap_indexes/two_swaps_registered.snap | 4 +- .../after_the_index_creation.snap | 4 +- .../first_swap_failed.snap | 4 +- .../initial_tasks_processed.snap | 4 +- .../initial_tasks_enqueued.snap | 4 +- .../initial_tasks_processed.snap | 4 +- .../task_deletion_processed.snap | 4 +- .../after_registering_the_task_deletion.snap | 4 +- .../initial_tasks_enqueued.snap | 4 +- .../initial_tasks_processed.snap | 4 +- .../task_deletion_processed.snap | 4 +- .../initial_tasks_enqueued.snap | 4 +- .../task_deletion_done.snap | 4 +- .../task_deletion_enqueued.snap | 4 +- .../task_deletion_processing.snap | 4 +- .../after_processing_the_10_tasks.snap | 4 +- .../after_registering_the_10_tasks.snap | 4 +- .../processed_the_first_task.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../after_registering_the_10_tasks.snap | 4 +- .../all_tasks_processed.snap | 4 +- .../five_tasks_processed.snap | 4 +- .../processed_the_first_task.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../after_processing_the_10_tasks.snap | 4 +- .../after_registering_the_10_tasks.snap | 4 +- .../after_registering_the_10_tasks.snap | 4 +- .../all_tasks_processed.snap | 4 +- .../five_tasks_processed.snap | 4 +- .../after_registering_the_10_tasks.snap | 4 +- .../all_tasks_processed.snap | 4 +- .../only_first_task_failed.snap | 4 +- .../after_registering_the_10_tasks.snap | 4 +- .../all_tasks_processed.snap | 4 +- .../processed_the_first_task.snap | 4 +- .../registered_the_first_task.snap | 4 +- .../after_registering_the_5_tasks.snap | 4 +- .../fifth_task_succeeds.snap | 4 +- .../first_and_second_task_fails.snap | 4 +- .../fourth_task_fails.snap | 4 +- .../third_task_succeeds.snap | 4 +- .../after_registering_the_3_tasks.snap | 4 +- .../only_first_task_succeed.snap | 4 +- .../second_task_fails.snap | 4 +- .../third_task_fails.snap | 4 +- .../after_registering_the_3_tasks.snap | 4 +- .../only_first_task_succeed.snap | 4 +- .../second_and_third_tasks_fails.snap | 4 +- .../after_registering_the_6_tasks.snap | 4 +- .../all_other_tasks_succeeds.snap | 4 +- .../first_task_fails.snap | 4 +- .../second_task_fails.snap | 4 +- .../third_task_succeeds.snap | 4 +- .../after_registering_the_6_tasks.snap | 4 +- .../all_other_tasks_succeeds.snap | 4 +- .../first_task_succeed.snap | 4 +- .../second_task_fails.snap | 4 +- .../third_task_succeeds.snap | 4 +- .../lib.rs/test_document_replace/1.snap | 4 +- .../lib.rs/test_document_replace/2.snap | 4 +- .../after_registering_the_10_tasks.snap | 4 +- .../all_tasks_processed.snap | 4 +- .../five_tasks_processed.snap | 4 +- .../lib.rs/test_document_update/1.snap | 4 +- .../lib.rs/test_document_update/2.snap | 4 +- .../after_registering_the_10_tasks.snap | 4 +- .../all_tasks_processed.snap | 4 +- .../five_tasks_processed.snap | 4 +- .../after_registering_the_10_tasks.snap | 4 +- .../all_tasks_processed.snap | 4 +- .../five_tasks_processed.snap | 4 +- .../after_registering_settings_task.snap | 4 +- .../settings_update_processed.snap | 4 +- .../registered_a_task.snap | 4 +- crates/index-scheduler/src/utils.rs | 3 + 180 files changed, 524 insertions(+), 644 deletions(-) create mode 100644 crates/index-scheduler/src/snapshots/lib.rs/query_batches_canceled_by/start.snap diff --git a/crates/index-scheduler/src/batch.rs b/crates/index-scheduler/src/batch.rs index 0130e9bfe..40526622c 100644 --- a/crates/index-scheduler/src/batch.rs +++ b/crates/index-scheduler/src/batch.rs @@ -667,7 +667,11 @@ impl IndexScheduler { /// list is updated accordingly, with the exception of the its date fields /// [`finished_at`](meilisearch_types::tasks::Task::finished_at) and [`started_at`](meilisearch_types::tasks::Task::started_at). #[tracing::instrument(level = "trace", skip(self, batch), target = "indexing::scheduler", fields(batch=batch.to_string()))] - pub(crate) fn process_batch(&self, batch: Batch) -> Result> { + pub(crate) fn process_batch( + &self, + batch: Batch, + current_batch: &mut ProcessingBatch, + ) -> Result> { #[cfg(test)] { self.maybe_fail(crate::tests::FailureLocation::InsideProcessBatch)?; @@ -685,47 +689,25 @@ impl IndexScheduler { unreachable!() }; - let mut wtxn = self.env.write_txn()?; - let canceled_tasks_content_uuids = self.cancel_matched_tasks( - &mut wtxn, - task.uid, - matched_tasks, - previous_started_at, - &previous_processing_tasks, - )?; + let rtxn = self.env.read_txn()?; + let mut canceled_tasks = + self.cancel_matched_tasks(&rtxn, task.uid, current_batch, matched_tasks)?; task.status = Status::Succeeded; match &mut task.details { Some(Details::TaskCancelation { matched_tasks: _, - canceled_tasks, + canceled_tasks: canceled_tasks_details, original_filter: _, }) => { - *canceled_tasks = Some(canceled_tasks_content_uuids.len() as u64); + *canceled_tasks_details = Some(canceled_tasks.len() as u64); } _ => unreachable!(), } - // We must only remove the content files if the transaction is successfully committed - // and if errors occurs when we are deleting files we must do our best to delete - // everything. We do not return the encountered errors when deleting the content - // files as it is not a breaking operation and we can safely continue our job. - match wtxn.commit() { - Ok(()) => { - for content_uuid in canceled_tasks_content_uuids { - if let Err(error) = self.delete_update_file(content_uuid) { - tracing::error!( - file_content_uuid = %content_uuid, - %error, - "Failed deleting content file" - ) - } - } - } - Err(e) => return Err(e.into()), - } + canceled_tasks.push(task); - Ok(vec![task]) + Ok(canceled_tasks) } Batch::TaskDeletions(mut tasks) => { // 1. Retrieve the tasks that matched the query at enqueue-time. @@ -1090,7 +1072,10 @@ impl IndexScheduler { } self.index_mapper.create_index(wtxn, &index_uid, None)?; - self.process_batch(Batch::IndexUpdate { index_uid, primary_key, task }) + self.process_batch( + Batch::IndexUpdate { index_uid, primary_key, task }, + current_batch, + ) } Batch::IndexUpdate { index_uid, primary_key, mut task } => { let rtxn = self.env.read_txn()?; @@ -1744,41 +1729,31 @@ impl IndexScheduler { /// Cancel each given task from all the databases (if it is cancelable). /// - /// Returns the content files that the transaction owner must delete if the commit is successful. + /// Returns the list of tasks that matched the filter and must be written in the database. fn cancel_matched_tasks( &self, - wtxn: &mut RwTxn, + rtxn: &RoTxn, cancel_task_id: TaskId, + current_batch: &mut ProcessingBatch, matched_tasks: &RoaringBitmap, - previous_started_at: OffsetDateTime, - previous_processing_tasks: &RoaringBitmap, - ) -> Result> { - let now = OffsetDateTime::now_utc(); - + ) -> Result> { // 1. Remove from this list the tasks that we are not allowed to cancel // Notice that only the _enqueued_ ones are cancelable and we should // have already aborted the indexation of the _processing_ ones - let cancelable_tasks = self.get_status(wtxn, Status::Enqueued)?; + let cancelable_tasks = self.get_status(rtxn, Status::Enqueued)?; let tasks_to_cancel = cancelable_tasks & matched_tasks; // 2. We now have a list of tasks to cancel, cancel them - let mut content_files_to_delete = Vec::new(); - for mut task in self.get_existing_tasks(wtxn, tasks_to_cancel.iter())? { - if let Some(uuid) = task.content_uuid() { - content_files_to_delete.push(uuid); - } - if previous_processing_tasks.contains(task.uid) { - task.started_at = Some(previous_started_at); - } + let mut tasks = self.get_existing_tasks(rtxn, tasks_to_cancel.iter())?; + + for task in tasks.iter_mut() { task.status = Status::Canceled; task.canceled_by = Some(cancel_task_id); - task.finished_at = Some(now); - task.details = task.details.map(|d| d.to_failed()); - self.update_task(wtxn, &task)?; + task.details = task.details.as_ref().map(|d| d.to_failed()); + current_batch.processing(Some(task)); } - self.canceled_by.put(wtxn, &cancel_task_id, &tasks_to_cancel)?; - Ok(content_files_to_delete) + Ok(tasks) } } diff --git a/crates/index-scheduler/src/insta_snapshot.rs b/crates/index-scheduler/src/insta_snapshot.rs index da0d90baa..af56fe467 100644 --- a/crates/index-scheduler/src/insta_snapshot.rs +++ b/crates/index-scheduler/src/insta_snapshot.rs @@ -40,7 +40,6 @@ pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String { batch_status, batch_kind, batch_index_tasks, - batch_canceled_by, batch_enqueued_at, batch_started_at, batch_finished_at, @@ -131,10 +130,6 @@ pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String { snap.push_str(&snapshot_index_tasks(&rtxn, *batch_index_tasks)); snap.push_str("----------------------------------------------------------------------\n"); - snap.push_str("### Batches Canceled By:\n"); - snap.push_str(&snapshot_canceled_by(&rtxn, *batch_canceled_by)); - snap.push_str("\n----------------------------------------------------------------------\n"); - snap.push_str("### Batches Enqueued At:\n"); snap.push_str(&snapshot_date_db(&rtxn, *batch_enqueued_at)); snap.push_str("----------------------------------------------------------------------\n"); diff --git a/crates/index-scheduler/src/lib.rs b/crates/index-scheduler/src/lib.rs index 05b6722e8..7bda98f81 100644 --- a/crates/index-scheduler/src/lib.rs +++ b/crates/index-scheduler/src/lib.rs @@ -225,7 +225,6 @@ mod db_name { pub const BATCH_STATUS: &str = "batch-status"; pub const BATCH_KIND: &str = "batch-kind"; pub const BATCH_INDEX_TASKS: &str = "batch-index-tasks"; - pub const BATCH_CANCELED_BY: &str = "batch-canceled_by"; pub const BATCH_ENQUEUED_AT: &str = "batch-enqueued-at"; pub const BATCH_STARTED_AT: &str = "batch-started-at"; pub const BATCH_FINISHED_AT: &str = "batch-finished-at"; @@ -341,8 +340,6 @@ pub struct IndexScheduler { pub(crate) batch_kind: Database, RoaringBitmapCodec>, /// Store the batches associated to an index. pub(crate) batch_index_tasks: Database, - /// Store the batches containing a task canceled by a task uid - pub(crate) batch_canceled_by: Database, /// Store the batches containing tasks which were enqueued at a specific date pub(crate) batch_enqueued_at: Database, /// Store the batches containing finished tasks started at a specific date @@ -434,7 +431,6 @@ impl IndexScheduler { batch_status: self.batch_status, batch_kind: self.batch_kind, batch_index_tasks: self.batch_index_tasks, - batch_canceled_by: self.batch_canceled_by, batch_enqueued_at: self.batch_enqueued_at, batch_started_at: self.batch_started_at, batch_finished_at: self.batch_finished_at, @@ -498,7 +494,7 @@ impl IndexScheduler { let env = unsafe { heed::EnvOpenOptions::new() - .max_dbs(20) + .max_dbs(19) .map_size(budget.task_db_size) .open(options.tasks_path) }?; @@ -524,7 +520,6 @@ impl IndexScheduler { let batch_status = env.create_database(&mut wtxn, Some(db_name::BATCH_STATUS))?; let batch_kind = env.create_database(&mut wtxn, Some(db_name::BATCH_KIND))?; let batch_index_tasks = env.create_database(&mut wtxn, Some(db_name::BATCH_INDEX_TASKS))?; - let batch_canceled_by = env.create_database(&mut wtxn, Some(db_name::BATCH_CANCELED_BY))?; let batch_enqueued_at = env.create_database(&mut wtxn, Some(db_name::BATCH_ENQUEUED_AT))?; let batch_started_at = env.create_database(&mut wtxn, Some(db_name::BATCH_STARTED_AT))?; let batch_finished_at = env.create_database(&mut wtxn, Some(db_name::BATCH_FINISHED_AT))?; @@ -551,7 +546,6 @@ impl IndexScheduler { batch_status, batch_kind, batch_index_tasks, - batch_canceled_by, batch_enqueued_at, batch_started_at, batch_finished_at, @@ -990,16 +984,23 @@ impl IndexScheduler { batches &= batches_by_task_uids; } + // There is no database for this query, we must retrieve the task queried by the client and ensure it's valid if let Some(canceled_by) = &query.canceled_by { let mut all_canceled_batches = RoaringBitmap::new(); for cancel_uid in canceled_by { - if let Some(canceled_by_uid) = self.batch_canceled_by.get(rtxn, cancel_uid)? { - all_canceled_batches |= canceled_by_uid; + if let Some(task) = self.get_task(rtxn, *cancel_uid)? { + if task.kind.as_kind() == Kind::TaskCancelation + && task.status == Status::Succeeded + { + if let Some(batch_uid) = task.batch_uid { + all_canceled_batches.insert(batch_uid); + } + } } } // if the canceled_by has been specified but no batch - // matches then we prefer matching zero than all tasks. + // matches then we prefer matching zero than all batches. if all_canceled_batches.is_empty() { return Ok(RoaringBitmap::new()); } else { @@ -1253,24 +1254,35 @@ impl IndexScheduler { } } - // Any task that is internally associated with a non-authorized index - // must be discarded. - // This works because currently batches cannot contains tasks from multiple indexes at the same time. + // Any batch that is internally associated with at least one authorized index + // must be returned. if !filters.all_indexes_authorized() { + let mut valid_indexes = RoaringBitmap::new(); + let mut forbidden_indexes = RoaringBitmap::new(); + let all_indexes_iter = self.batch_index_tasks.iter(rtxn)?; for result in all_indexes_iter { let (index, index_tasks) = result?; - if !filters.is_index_authorized(index) { - batches -= index_tasks; + if filters.is_index_authorized(index) { + valid_indexes |= index_tasks; + } else { + forbidden_indexes |= index_tasks; } } if let Some(batch) = processing.batch.as_ref() { for index in &batch.indexes { - if !filters.is_index_authorized(index) { - batches.remove(batch.uid); + if filters.is_index_authorized(index) { + valid_indexes.insert(batch.uid); + } else { + forbidden_indexes.insert(batch.uid); } } } + + // If a batch had ONE valid task then it should be returned + let invalid_batches = forbidden_indexes - valid_indexes; + + batches -= invalid_batches; } Ok((batches, total_batches.len())) @@ -1543,11 +1555,16 @@ impl IndexScheduler { // 2. Process the tasks let res = { let cloned_index_scheduler = self.private_clone(); - let handle = std::thread::Builder::new() - .name(String::from("batch-operation")) - .spawn(move || cloned_index_scheduler.process_batch(batch)) - .unwrap(); - handle.join().unwrap_or(Err(Error::ProcessBatchPanicked)) + let processing_batch = &mut processing_batch; + std::thread::scope(|s| { + let handle = std::thread::Builder::new() + .name(String::from("batch-operation")) + .spawn_scoped(s, move || { + cloned_index_scheduler.process_batch(batch, processing_batch) + }) + .unwrap(); + handle.join().unwrap_or(Err(Error::ProcessBatchPanicked)) + }) }; // Reset the currently updating index to relinquish the index handle @@ -1566,11 +1583,20 @@ impl IndexScheduler { let mut success = 0; let mut failure = 0; + let mut canceled_by = None; + let mut canceled = RoaringBitmap::new(); + + dbg!(&tasks); #[allow(unused_variables)] for (i, mut task) in tasks.into_iter().enumerate() { - task.started_at = Some(processing_batch.started_at); - task.finished_at = Some(finished_at); + if task.status != Status::Canceled { + task.started_at = Some(processing_batch.started_at); + task.finished_at = Some(finished_at); + } else { + canceled.insert(task.uid); + canceled_by = task.canceled_by; + } #[cfg(test)] self.maybe_fail( @@ -1588,6 +1614,10 @@ impl IndexScheduler { .map_err(|e| Error::TaskDatabaseUpdate(Box::new(e)))?; processing_batch.update(&task); } + if let Some(canceled_by) = canceled_by { + println!("inserting the canceled by {canceled_by}: {canceled:?}"); + self.canceled_by.put(&mut wtxn, &canceled_by, &canceled)?; + } tracing::info!("A batch of tasks was successfully completed with {success} successful tasks and {failure} failed tasks."); } // If we have an abortion error we must stop the tick here and re-schedule tasks. @@ -4120,6 +4150,7 @@ mod tests { tasks: [0, 1, 2, 3].into_iter().collect(), }; let task_cancelation = index_scheduler.register(kind, None, false).unwrap(); + println!("HEEERE"); handle.advance_n_successful_batches(1); snapshot!(snapshot_index_scheduler(&index_scheduler), name: "start"); @@ -4561,13 +4592,12 @@ mod tests { let (batches, _) = index_scheduler .get_batch_ids_from_authorized_indexes(&rtxn, &query, &AuthFilter::default()) .unwrap(); - // 0 is not returned because it was not canceled, 3 is not returned because it is the uid of the - // taskCancelation itself - snapshot!(snapshot_bitmap(&batches), @"[1,2,]"); + // The batch zero was the index creation task, the 1 is the task cancellation + snapshot!(snapshot_bitmap(&batches), @"[1,]"); let query = Query { canceled_by: Some(vec![task_cancelation.uid]), ..Query::default() }; let (batches, _) = index_scheduler - .get_task_ids_from_authorized_indexes( + .get_batch_ids_from_authorized_indexes( &rtxn, &query, &AuthFilter::with_allowed_indexes( @@ -5869,7 +5899,7 @@ mod tests { let kind = KindWithContent::IndexCreation { index_uid: S("doggo"), primary_key: None }; let task = index_scheduler.register(kind, None, true).unwrap(); snapshot!(task.uid, @"0"); - snapshot!(snapshot_index_scheduler(&index_scheduler), @r###" + snapshot!(snapshot_index_scheduler(&index_scheduler), @r" ### Autobatching Enabled = true ### Processing batch None: [] @@ -5903,9 +5933,6 @@ mod tests { ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: - ---------------------------------------------------------------------- - ### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- @@ -5916,12 +5943,12 @@ mod tests { ### File Store: ---------------------------------------------------------------------- - "###); + "); let kind = KindWithContent::IndexCreation { index_uid: S("doggo"), primary_key: None }; let task = index_scheduler.register(kind, Some(12), true).unwrap(); snapshot!(task.uid, @"12"); - snapshot!(snapshot_index_scheduler(&index_scheduler), @r###" + snapshot!(snapshot_index_scheduler(&index_scheduler), @r" ### Autobatching Enabled = true ### Processing batch None: [] @@ -5955,9 +5982,6 @@ mod tests { ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: - ---------------------------------------------------------------------- - ### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- @@ -5968,7 +5992,7 @@ mod tests { ### File Store: ---------------------------------------------------------------------- - "###); + "); } #[test] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_enqueued_task/cancel_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_enqueued_task/cancel_processed.snap index 077784965..d19ea3960 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_enqueued_task/cancel_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_enqueued_task/cancel_processed.snap @@ -1,13 +1,14 @@ --- -source: index-scheduler/src/lib.rs +source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true -### Processing Tasks: +### Processing batch None: [] ---------------------------------------------------------------------- ### All Tasks: -0 {uid: 0, status: canceled, canceled_by: 1, details: { received_documents: 1, indexed_documents: Some(0) }, kind: DocumentAdditionOrUpdate { index_uid: "catto", primary_key: None, method: ReplaceDocuments, content_file: 00000000-0000-0000-0000-000000000000, documents_count: 1, allow_index_creation: true }} -1 {uid: 1, status: succeeded, details: { matched_tasks: 1, canceled_tasks: Some(1), original_filter: "test_query" }, kind: TaskCancelation { query: "test_query", tasks: RoaringBitmap<[0]> }} +0 {uid: 0, batch_uid: 0, status: canceled, canceled_by: 1, details: { received_documents: 1, indexed_documents: Some(0) }, kind: DocumentAdditionOrUpdate { index_uid: "catto", primary_key: None, method: ReplaceDocuments, content_file: 00000000-0000-0000-0000-000000000000, documents_count: 1, allow_index_creation: true }} +1 {uid: 1, batch_uid: 0, status: succeeded, details: { matched_tasks: 1, canceled_tasks: Some(1), original_filter: "test_query" }, kind: TaskCancelation { query: "test_query", tasks: RoaringBitmap<[0]> }} ---------------------------------------------------------------------- ### Status: enqueued [] @@ -36,10 +37,35 @@ catto [0,] [timestamp] [1,] ---------------------------------------------------------------------- ### Finished At: -[timestamp] [0,] [timestamp] [1,] ---------------------------------------------------------------------- +### All Batches: +0 {uid: 0, } +---------------------------------------------------------------------- +### Batch to tasks mapping: +0 [1,] +---------------------------------------------------------------------- +### Batches Status: +succeeded [0,] +---------------------------------------------------------------------- +### Batches Kind: +"documentAdditionOrUpdate" [0,] +"taskCancelation" [0,] +---------------------------------------------------------------------- +### Batches Index Tasks: +catto [0,] +---------------------------------------------------------------------- +### Batches Enqueued At: +[timestamp] [0,] +[timestamp] [0,] +---------------------------------------------------------------------- +### Batches Started At: +[timestamp] [0,] +---------------------------------------------------------------------- +### Batches Finished At: +[timestamp] [0,] +---------------------------------------------------------------------- ### File Store: +00000000-0000-0000-0000-000000000000 ---------------------------------------------------------------------- - diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_enqueued_task/initial_tasks_enqueued.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_enqueued_task/initial_tasks_enqueued.snap index d1938e82d..b895bbc7c 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_enqueued_task/initial_tasks_enqueued.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_enqueued_task/initial_tasks_enqueued.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -42,9 +43,6 @@ catto [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/aborted_indexation.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/aborted_indexation.snap index 1784652c2..55b4275c7 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/aborted_indexation.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/aborted_indexation.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(1): @@ -58,9 +59,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: catto [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/cancel_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/cancel_processed.snap index 1e5182f80..4989ef2ff 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/cancel_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/cancel_processed.snap @@ -1,15 +1,16 @@ --- -source: index-scheduler/src/lib.rs +source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true -### Processing Tasks: +### Processing batch None: [] ---------------------------------------------------------------------- ### All Tasks: -0 {uid: 0, status: succeeded, details: { received_documents: 1, indexed_documents: Some(1) }, kind: DocumentAdditionOrUpdate { index_uid: "catto", primary_key: None, method: ReplaceDocuments, content_file: 00000000-0000-0000-0000-000000000000, documents_count: 1, allow_index_creation: true }} -1 {uid: 1, status: canceled, canceled_by: 3, details: { received_documents: 1, indexed_documents: Some(0) }, kind: DocumentAdditionOrUpdate { index_uid: "beavero", primary_key: None, method: ReplaceDocuments, content_file: 00000000-0000-0000-0000-000000000001, documents_count: 1, allow_index_creation: true }} -2 {uid: 2, status: canceled, canceled_by: 3, details: { received_documents: 1, indexed_documents: Some(0) }, kind: DocumentAdditionOrUpdate { index_uid: "wolfo", primary_key: None, method: ReplaceDocuments, content_file: 00000000-0000-0000-0000-000000000002, documents_count: 1, allow_index_creation: true }} -3 {uid: 3, status: succeeded, details: { matched_tasks: 3, canceled_tasks: Some(2), original_filter: "test_query" }, kind: TaskCancelation { query: "test_query", tasks: RoaringBitmap<[0, 1, 2]> }} +0 {uid: 0, batch_uid: 0, status: succeeded, details: { received_documents: 1, indexed_documents: Some(1) }, kind: DocumentAdditionOrUpdate { index_uid: "catto", primary_key: None, method: ReplaceDocuments, content_file: 00000000-0000-0000-0000-000000000000, documents_count: 1, allow_index_creation: true }} +1 {uid: 1, batch_uid: 1, status: canceled, canceled_by: 3, details: { received_documents: 1, indexed_documents: Some(0) }, kind: DocumentAdditionOrUpdate { index_uid: "beavero", primary_key: None, method: ReplaceDocuments, content_file: 00000000-0000-0000-0000-000000000001, documents_count: 1, allow_index_creation: true }} +2 {uid: 2, batch_uid: 1, status: canceled, canceled_by: 3, details: { received_documents: 1, indexed_documents: Some(0) }, kind: DocumentAdditionOrUpdate { index_uid: "wolfo", primary_key: None, method: ReplaceDocuments, content_file: 00000000-0000-0000-0000-000000000002, documents_count: 1, allow_index_creation: true }} +3 {uid: 3, batch_uid: 1, status: succeeded, details: { matched_tasks: 3, canceled_tasks: Some(2), original_filter: "test_query" }, kind: TaskCancelation { query: "test_query", tasks: RoaringBitmap<[0, 1, 2]> }} ---------------------------------------------------------------------- ### Status: enqueued [] @@ -42,15 +43,47 @@ catto: { number_of_documents: 1, field_distribution: {"id": 1} } ---------------------------------------------------------------------- ### Started At: [timestamp] [0,] -[timestamp] [1,] [timestamp] [3,] ---------------------------------------------------------------------- ### Finished At: [timestamp] [0,] -[timestamp] [1,2,] [timestamp] [3,] ---------------------------------------------------------------------- +### All Batches: +0 {uid: 0, } +1 {uid: 1, } +---------------------------------------------------------------------- +### Batch to tasks mapping: +0 [0,] +1 [3,] +---------------------------------------------------------------------- +### Batches Status: +succeeded [0,1,] +---------------------------------------------------------------------- +### Batches Kind: +"documentAdditionOrUpdate" [0,1,] +"taskCancelation" [1,] +---------------------------------------------------------------------- +### Batches Index Tasks: +beavero [1,] +catto [0,] +wolfo [1,] +---------------------------------------------------------------------- +### Batches Enqueued At: +[timestamp] [0,] +[timestamp] [1,] +[timestamp] [1,] +---------------------------------------------------------------------- +### Batches Started At: +[timestamp] [0,] +[timestamp] [1,] +---------------------------------------------------------------------- +### Batches Finished At: +[timestamp] [0,] +[timestamp] [1,] +---------------------------------------------------------------------- ### File Store: +00000000-0000-0000-0000-000000000001 +00000000-0000-0000-0000-000000000002 ---------------------------------------------------------------------- - diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/first_task_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/first_task_processed.snap index d3671cb4d..524f865d8 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/first_task_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/first_task_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -54,9 +55,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: catto [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/processing_second_task_cancel_enqueued.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/processing_second_task_cancel_enqueued.snap index 92e484c93..c67c45f02 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/processing_second_task_cancel_enqueued.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_mix_of_tasks/processing_second_task_cancel_enqueued.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(1): @@ -57,9 +58,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: catto [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_dump/after_dump_register.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_dump/after_dump_register.snap index 8c6b6be65..8821af805 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_dump/after_dump_register.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_dump/after_dump_register.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -38,9 +39,6 @@ enqueued [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_dump/cancel_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_dump/cancel_processed.snap index f3d7b363f..b619399bf 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_dump/cancel_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_dump/cancel_processed.snap @@ -1,13 +1,14 @@ --- -source: index-scheduler/src/lib.rs +source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true -### Processing Tasks: +### Processing batch None: [] ---------------------------------------------------------------------- ### All Tasks: -0 {uid: 0, status: canceled, canceled_by: 1, details: { dump_uid: None }, kind: DumpCreation { keys: [], instance_uid: None }} -1 {uid: 1, status: succeeded, details: { matched_tasks: 1, canceled_tasks: Some(0), original_filter: "cancel dump" }, kind: TaskCancelation { query: "cancel dump", tasks: RoaringBitmap<[0]> }} +0 {uid: 0, batch_uid: 0, status: canceled, canceled_by: 1, details: { dump_uid: None }, kind: DumpCreation { keys: [], instance_uid: None }} +1 {uid: 1, batch_uid: 0, status: succeeded, details: { matched_tasks: 1, canceled_tasks: Some(1), original_filter: "cancel dump" }, kind: TaskCancelation { query: "cancel dump", tasks: RoaringBitmap<[0]> }} ---------------------------------------------------------------------- ### Status: enqueued [] @@ -32,14 +33,36 @@ canceled [0,] [timestamp] [1,] ---------------------------------------------------------------------- ### Started At: -[timestamp] [0,] [timestamp] [1,] ---------------------------------------------------------------------- ### Finished At: -[timestamp] [0,] [timestamp] [1,] ---------------------------------------------------------------------- +### All Batches: +0 {uid: 0, } +---------------------------------------------------------------------- +### Batch to tasks mapping: +0 [1,] +---------------------------------------------------------------------- +### Batches Status: +succeeded [0,] +---------------------------------------------------------------------- +### Batches Kind: +"taskCancelation" [0,] +"dumpCreation" [0,] +---------------------------------------------------------------------- +### Batches Index Tasks: +---------------------------------------------------------------------- +### Batches Enqueued At: +[timestamp] [0,] +[timestamp] [0,] +---------------------------------------------------------------------- +### Batches Started At: +[timestamp] [0,] +---------------------------------------------------------------------- +### Batches Finished At: +[timestamp] [0,] +---------------------------------------------------------------------- ### File Store: ---------------------------------------------------------------------- - diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_dump/cancel_registered.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_dump/cancel_registered.snap index 7406a373b..f4b6c31a1 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_dump/cancel_registered.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_dump/cancel_registered.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(0): @@ -41,9 +42,6 @@ enqueued [0,1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/aborted_indexation.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/aborted_indexation.snap index 38925a23d..527908093 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/aborted_indexation.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/aborted_indexation.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(0): @@ -43,9 +44,6 @@ catto: { number_of_documents: 0, field_distribution: {} } ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/cancel_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/cancel_processed.snap index 0ede1ffd3..c8f661fb0 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/cancel_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/cancel_processed.snap @@ -1,13 +1,14 @@ --- -source: index-scheduler/src/lib.rs +source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true -### Processing Tasks: +### Processing batch None: [] ---------------------------------------------------------------------- ### All Tasks: -0 {uid: 0, status: canceled, canceled_by: 1, details: { received_documents: 1, indexed_documents: Some(0) }, kind: DocumentAdditionOrUpdate { index_uid: "catto", primary_key: None, method: ReplaceDocuments, content_file: 00000000-0000-0000-0000-000000000000, documents_count: 1, allow_index_creation: true }} -1 {uid: 1, status: succeeded, details: { matched_tasks: 1, canceled_tasks: Some(1), original_filter: "test_query" }, kind: TaskCancelation { query: "test_query", tasks: RoaringBitmap<[0]> }} +0 {uid: 0, batch_uid: 0, status: canceled, canceled_by: 1, details: { received_documents: 1, indexed_documents: Some(0) }, kind: DocumentAdditionOrUpdate { index_uid: "catto", primary_key: None, method: ReplaceDocuments, content_file: 00000000-0000-0000-0000-000000000000, documents_count: 1, allow_index_creation: true }} +1 {uid: 1, batch_uid: 0, status: succeeded, details: { matched_tasks: 1, canceled_tasks: Some(1), original_filter: "test_query" }, kind: TaskCancelation { query: "test_query", tasks: RoaringBitmap<[0]> }} ---------------------------------------------------------------------- ### Status: enqueued [] @@ -34,14 +35,38 @@ catto: { number_of_documents: 0, field_distribution: {} } [timestamp] [1,] ---------------------------------------------------------------------- ### Started At: -[timestamp] [0,] [timestamp] [1,] ---------------------------------------------------------------------- ### Finished At: -[timestamp] [0,] [timestamp] [1,] ---------------------------------------------------------------------- +### All Batches: +0 {uid: 0, } +---------------------------------------------------------------------- +### Batch to tasks mapping: +0 [1,] +---------------------------------------------------------------------- +### Batches Status: +succeeded [0,] +---------------------------------------------------------------------- +### Batches Kind: +"documentAdditionOrUpdate" [0,] +"taskCancelation" [0,] +---------------------------------------------------------------------- +### Batches Index Tasks: +catto [0,] +---------------------------------------------------------------------- +### Batches Enqueued At: +[timestamp] [0,] +[timestamp] [0,] +---------------------------------------------------------------------- +### Batches Started At: +[timestamp] [0,] +---------------------------------------------------------------------- +### Batches Finished At: +[timestamp] [0,] +---------------------------------------------------------------------- ### File Store: +00000000-0000-0000-0000-000000000000 ---------------------------------------------------------------------- - diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/cancel_task_registered.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/cancel_task_registered.snap index 3b8a9a623..0f5795f35 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/cancel_task_registered.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/cancel_task_registered.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(0): @@ -42,9 +43,6 @@ catto [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/initial_task_processing.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/initial_task_processing.snap index 5c1c3a765..7646df5ad 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/initial_task_processing.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/initial_task_processing.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(0): @@ -39,9 +40,6 @@ catto [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/registered_the_first_task.snap index 6b6af0667..087257e18 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_processing_task/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ catto [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_succeeded_task/cancel_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_succeeded_task/cancel_processed.snap index 6c8ead6b4..94465298d 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_succeeded_task/cancel_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_succeeded_task/cancel_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -25,7 +26,6 @@ catto: { number_of_documents: 1, field_distribution: {"id": 1} } ---------------------------------------------------------------------- ### Canceled By: -1 [] ---------------------------------------------------------------------- ### Enqueued At: @@ -57,9 +57,6 @@ succeeded [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: catto [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_succeeded_task/initial_task_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_succeeded_task/initial_task_processed.snap index ab62eb146..8cddcf06d 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_succeeded_task/initial_task_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_succeeded_task/initial_task_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -48,9 +49,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: catto [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/cancel_succeeded_task/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/cancel_succeeded_task/registered_the_first_task.snap index 6b6af0667..087257e18 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/cancel_succeeded_task/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/cancel_succeeded_task/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ catto [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/do_not_batch_task_of_different_indexes/all_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/do_not_batch_task_of_different_indexes/all_tasks_processed.snap index 3b4d6db02..b024305dd 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/do_not_batch_task_of_different_indexes/all_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/do_not_batch_task_of_different_indexes/all_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -86,9 +87,6 @@ succeeded [0,1,2,3,4,5,] cattos [1,4,] doggos [0,3,] girafos [2,5,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition/after_register.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition/after_register.snap index 07ab97def..d8a689669 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition/after_register.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition/after_register.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition/after_the_batch_creation.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition/after_the_batch_creation.snap index 03484afe0..a023166ca 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition/after_the_batch_creation.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition/after_the_batch_creation.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(0): @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition/once_everything_is_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition/once_everything_is_processed.snap index c194af741..52fefbbec 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition/once_everything_is_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition/once_everything_is_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -48,9 +49,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_document_deletion/after_processing_the_batch.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_document_deletion/after_processing_the_batch.snap index 668f9d5bf..73f2730d2 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_document_deletion/after_processing_the_batch.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_document_deletion/after_processing_the_batch.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -52,9 +53,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_document_deletion/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_document_deletion/registered_the_first_task.snap index a26cb23aa..b1337b287 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_document_deletion/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_document_deletion/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_document_deletion/registered_the_second_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_document_deletion/registered_the_second_task.snap index 9765289fb..60e2d22be 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_document_deletion/registered_the_second_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_document_deletion/registered_the_second_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -42,9 +43,6 @@ doggos [0,1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/before_index_creation.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/before_index_creation.snap index f8642736c..66d073dc0 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/before_index_creation.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/before_index_creation.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -54,9 +55,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/both_task_succeeded.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/both_task_succeeded.snap index deafc4c81..648c66927 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/both_task_succeeded.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/both_task_succeeded.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -59,9 +60,6 @@ succeeded [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/registered_the_first_task.snap index 198956185..230b5e195 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/registered_the_second_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/registered_the_second_task.snap index 4e9b84e52..9b22afff0 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/registered_the_second_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/registered_the_second_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -42,9 +43,6 @@ doggos [0,1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/registered_the_third_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/registered_the_third_task.snap index 84e037b05..914660746 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/registered_the_third_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion/registered_the_third_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -45,9 +46,6 @@ doggos [0,1,2,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion_on_unexisting_index/1.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion_on_unexisting_index/1.snap index 8f2bed791..c252d35c9 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion_on_unexisting_index/1.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion_on_unexisting_index/1.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -42,9 +43,6 @@ doggos [0,1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion_on_unexisting_index/2.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion_on_unexisting_index/2.snap index ade21179b..91b1ebd93 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion_on_unexisting_index/2.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_addition_and_index_deletion_on_unexisting_index/2.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -51,9 +52,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/after_failing_the_deletion.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/after_failing_the_deletion.snap index 9a7b4686c..1ea3bdbd4 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/after_failing_the_deletion.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/after_failing_the_deletion.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -50,9 +51,6 @@ failed [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/after_last_successful_addition.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/after_last_successful_addition.snap index 60f71df9e..f3d7e2379 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/after_last_successful_addition.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/after_last_successful_addition.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -58,9 +59,6 @@ failed [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/registered_the_first_task.snap index acfdb5e51..2e96a4614 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/registered_the_second_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/registered_the_second_task.snap index 9748964e3..d4f8b47b9 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/registered_the_second_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/document_deletion_and_document_addition/registered_the_second_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -42,9 +43,6 @@ doggos [0,1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_addition/document_addition_batch_created.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_addition/document_addition_batch_created.snap index 03484afe0..a023166ca 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_addition/document_addition_batch_created.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_addition/document_addition_batch_created.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(0): @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_addition/document_addition_failed.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_addition/document_addition_failed.snap index 19881a91c..f79a7fed1 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_addition/document_addition_failed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_addition/document_addition_failed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -47,9 +48,6 @@ failed [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_addition/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_addition/registered_the_first_task.snap index 07ab97def..d8a689669 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_addition/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_addition/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_adding_the_documents.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_adding_the_documents.snap index 74e001fba..37ef7a5cb 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_adding_the_documents.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_adding_the_documents.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -56,9 +57,6 @@ succeeded [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_adding_the_settings.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_adding_the_settings.snap index 19d7a0c0a..dbe571e1b 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_adding_the_settings.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_adding_the_settings.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -51,9 +52,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_removing_the_documents.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_removing_the_documents.snap index a6a036eee..762173c27 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_removing_the_documents.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_removing_the_documents.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -63,7 +64,6 @@ doggos: { number_of_documents: 1, field_distribution: {"doggo": 1, "id": 1} } ---------------------------------------------------------------------- ### Batches Status: succeeded [0,1,2,] -failed [2,] ---------------------------------------------------------------------- ### Batches Kind: "documentAdditionOrUpdate" [1,] @@ -72,9 +72,6 @@ failed [2,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/registered_the_document_deletions.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/registered_the_document_deletions.snap index 093e693d1..424218e1c 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/registered_the_document_deletions.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/registered_the_document_deletions.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -65,9 +66,6 @@ succeeded [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/registered_the_setting_and_document_addition.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/registered_the_setting_and_document_addition.snap index f6ff0721e..9e1995fee 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/registered_the_setting_and_document_addition.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/registered_the_setting_and_document_addition.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -42,9 +43,6 @@ doggos [0,1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_index_creation/after_register.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_index_creation/after_register.snap index 03d239939..5129662eb 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_index_creation/after_register.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_index_creation/after_register.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ catto [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_index_creation/index_creation_failed.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_index_creation/index_creation_failed.snap index 154b1f35b..34f6ad7fd 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_index_creation/index_creation_failed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_index_creation/index_creation_failed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -47,9 +48,6 @@ failed [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: catto [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/after_batch_succeeded.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/after_batch_succeeded.snap index 177307427..33ddc49e8 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/after_batch_succeeded.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/after_batch_succeeded.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(0): @@ -40,9 +41,6 @@ doggos: { number_of_documents: 1, field_distribution: {"doggo": 1, "id": 1} } ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/after_failing_to_commit.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/after_failing_to_commit.snap index 177307427..33ddc49e8 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/after_failing_to_commit.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/after_failing_to_commit.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(0): @@ -40,9 +41,6 @@ doggos: { number_of_documents: 1, field_distribution: {"doggo": 1, "id": 1} } ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/document_addition_succeeded_but_index_scheduler_not_updated.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/document_addition_succeeded_but_index_scheduler_not_updated.snap index 07ab97def..d8a689669 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/document_addition_succeeded_but_index_scheduler_not_updated.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/document_addition_succeeded_but_index_scheduler_not_updated.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/registered_the_first_task.snap index 07ab97def..d8a689669 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/task_successfully_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/task_successfully_processed.snap index c194af741..52fefbbec 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/task_successfully_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/fail_in_update_task_after_process_batch_success_for_document_addition/task_successfully_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -48,9 +49,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/Intel to kefir succeeds.snap b/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/Intel to kefir succeeds.snap index e2cdc8d46..cc392afbb 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/Intel to kefir succeeds.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/Intel to kefir succeeds.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -62,9 +63,6 @@ succeeded [0,1,2,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/Intel to kefir.snap b/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/Intel to kefir.snap index 859e3b95d..1e4534935 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/Intel to kefir.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/Intel to kefir.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -58,9 +59,6 @@ succeeded [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/adding Intel succeeds.snap b/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/adding Intel succeeds.snap index 44b25b149..41e464287 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/adding Intel succeeds.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/adding Intel succeeds.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -56,9 +57,6 @@ succeeded [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/after adding Intel.snap b/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/after adding Intel.snap index 4eefe83c2..03c7b3a5a 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/after adding Intel.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/after adding Intel.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -51,9 +52,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/after_registering_settings_task_vectors.snap b/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/after_registering_settings_task_vectors.snap index 96d060a92..f9e6df03e 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/after_registering_settings_task_vectors.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/after_registering_settings_task_vectors.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/settings_update_processed_vectors.snap b/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/settings_update_processed_vectors.snap index 044791d61..7bdb75143 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/settings_update_processed_vectors.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/import_vectors/settings_update_processed_vectors.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -48,9 +49,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/after_batch_creation.snap b/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/after_batch_creation.snap index eabfaed29..98ab857a9 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/after_batch_creation.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/after_batch_creation.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(0): @@ -39,9 +40,6 @@ index_a [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/registered_the_first_task.snap index 05bad8454..e3627bbd3 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ index_a [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/registered_the_second_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/registered_the_second_task.snap index bf009e414..e23aa11e1 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/registered_the_second_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/registered_the_second_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(0): @@ -42,9 +43,6 @@ index_b [1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/registered_the_third_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/registered_the_third_task.snap index 9c86652db..60104b505 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/registered_the_third_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/insert_task_while_another_task_is_processing/registered_the_third_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(0): @@ -45,9 +46,6 @@ index_b [1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/panic_in_process_batch_for_index_creation/index_creation_failed.snap b/crates/index-scheduler/src/snapshots/lib.rs/panic_in_process_batch_for_index_creation/index_creation_failed.snap index 17ed67aaf..fdd8e1f1d 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/panic_in_process_batch_for_index_creation/index_creation_failed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/panic_in_process_batch_for_index_creation/index_creation_failed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -47,9 +48,6 @@ failed [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: catto [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/panic_in_process_batch_for_index_creation/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/panic_in_process_batch_for_index_creation/registered_the_first_task.snap index 03d239939..5129662eb 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/panic_in_process_batch_for_index_creation/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/panic_in_process_batch_for_index_creation/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ catto [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/processed_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/processed_the_first_task.snap index 31fb88530..6bc6f22fd 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/processed_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/processed_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -54,9 +55,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/processed_the_second_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/processed_the_second_task.snap index 7bafb0848..747d64903 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/processed_the_second_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/processed_the_second_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -60,9 +61,6 @@ succeeded [0,1,] ### Batches Index Tasks: cattos [1,] doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/processed_the_third_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/processed_the_third_task.snap index b2967a78e..b6c419847 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/processed_the_third_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/processed_the_third_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -64,9 +65,6 @@ succeeded [0,1,2,] ### Batches Index Tasks: cattos [1,] doggos [0,2,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/registered_the_first_task.snap index 198956185..230b5e195 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/registered_the_second_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/registered_the_second_task.snap index 5460e7476..a0148db63 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/registered_the_second_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/registered_the_second_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -42,9 +43,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/registered_the_third_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/registered_the_third_task.snap index 610282102..bee90a73b 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/registered_the_third_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_inserted_without_new_signal/registered_the_third_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -45,9 +46,6 @@ doggos [0,2,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/first.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/first.snap index 915a39cb0..b5894122f 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/first.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/first.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -55,9 +56,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/fourth.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/fourth.snap index dfe92d4b3..93fc7c824 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/fourth.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/fourth.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -68,9 +69,6 @@ succeeded [0,1,2,3,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_first_task.snap index d92fa144c..33cea7854 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_fourth_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_fourth_task.snap index c75e0c550..ebd130966 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_fourth_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_fourth_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -46,9 +47,6 @@ doggos [0,1,2,3,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_second_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_second_task.snap index 87f7406dd..c53aec0c9 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_second_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_second_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -42,9 +43,6 @@ doggos [0,1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_third_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_third_task.snap index 86cb34f85..7679999ce 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_third_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/registered_the_third_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -44,9 +45,6 @@ doggos [0,1,2,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/second.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/second.snap index 597e6704d..fa00c237b 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/second.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/second.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -60,9 +61,6 @@ succeeded [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/third.snap b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/third.snap index 85cf963be..f9c3166ad 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/third.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/process_tasks_without_autobatching/third.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -64,9 +65,6 @@ succeeded [0,1,2,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_canceled_by/start.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_canceled_by/start.snap new file mode 100644 index 000000000..3af67a73c --- /dev/null +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_canceled_by/start.snap @@ -0,0 +1,86 @@ +--- +source: crates/index-scheduler/src/lib.rs +snapshot_kind: text +--- +### Autobatching Enabled = true +### Processing batch None: +[] +---------------------------------------------------------------------- +### All Tasks: +0 {uid: 0, batch_uid: 0, status: succeeded, details: { primary_key: Some("mouse") }, kind: IndexCreation { index_uid: "catto", primary_key: Some("mouse") }} +1 {uid: 1, batch_uid: 1, status: canceled, canceled_by: 3, details: { primary_key: Some("sheep") }, kind: IndexCreation { index_uid: "doggo", primary_key: Some("sheep") }} +2 {uid: 2, batch_uid: 1, status: canceled, canceled_by: 3, details: { swaps: [IndexSwap { indexes: ("catto", "doggo") }] }, kind: IndexSwap { swaps: [IndexSwap { indexes: ("catto", "doggo") }] }} +3 {uid: 3, batch_uid: 1, status: succeeded, details: { matched_tasks: 3, canceled_tasks: Some(2), original_filter: "test_query" }, kind: TaskCancelation { query: "test_query", tasks: RoaringBitmap<[0, 1, 2]> }} +---------------------------------------------------------------------- +### Status: +enqueued [] +succeeded [0,3,] +canceled [1,2,] +---------------------------------------------------------------------- +### Kind: +"indexCreation" [0,1,] +"indexSwap" [2,] +"taskCancelation" [3,] +---------------------------------------------------------------------- +### Index Tasks: +catto [0,2,] +doggo [1,2,] +---------------------------------------------------------------------- +### Index Mapper: +catto: { number_of_documents: 0, field_distribution: {} } + +---------------------------------------------------------------------- +### Canceled By: +3 [1,2,] + +---------------------------------------------------------------------- +### Enqueued At: +[timestamp] [0,] +[timestamp] [1,] +[timestamp] [2,] +[timestamp] [3,] +---------------------------------------------------------------------- +### Started At: +[timestamp] [0,] +[timestamp] [3,] +---------------------------------------------------------------------- +### Finished At: +[timestamp] [0,] +[timestamp] [3,] +---------------------------------------------------------------------- +### All Batches: +0 {uid: 0, } +1 {uid: 1, } +---------------------------------------------------------------------- +### Batch to tasks mapping: +0 [0,] +1 [3,] +---------------------------------------------------------------------- +### Batches Status: +succeeded [0,1,] +---------------------------------------------------------------------- +### Batches Kind: +"indexCreation" [0,1,] +"indexSwap" [1,] +"taskCancelation" [1,] +---------------------------------------------------------------------- +### Batches Index Tasks: +catto [0,1,] +doggo [1,] +---------------------------------------------------------------------- +### Batches Enqueued At: +[timestamp] [0,] +[timestamp] [1,] +[timestamp] [1,] +---------------------------------------------------------------------- +### Batches Started At: +[timestamp] [0,] +[timestamp] [1,] +---------------------------------------------------------------------- +### Batches Finished At: +[timestamp] [0,] +[timestamp] [1,] +---------------------------------------------------------------------- +### File Store: + +---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/processed_all_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/processed_all_tasks.snap index d22441b0b..cb12fa554 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/processed_all_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/processed_all_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -66,9 +67,6 @@ succeeded [0,1,2,] catto [2,] doggo [0,] whalo [1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/registered_the_first_task.snap index c6bf88bb0..64503a754 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggo [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/registered_the_second_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/registered_the_second_task.snap index cae2c4806..171f6dab4 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/registered_the_second_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/registered_the_second_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -42,9 +43,6 @@ whalo [1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/registered_the_third_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/registered_the_third_task.snap index 2346e5e68..f811b99a6 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/registered_the_third_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_from_and_limit/registered_the_third_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -45,9 +46,6 @@ whalo [1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_simple/end.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_simple/end.snap index b87a06b2b..7325520eb 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_simple/end.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_simple/end.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -67,9 +68,6 @@ failed [2,] catto [0,] doggo [1,] whalo [2,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_simple/start.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_simple/start.snap index 7428155e9..78a6c4228 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_simple/start.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_simple/start.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -45,9 +46,6 @@ whalo [2,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_special_rules/after-processing-everything.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_special_rules/after-processing-everything.snap index 625017e91..2bf1b4509 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_special_rules/after-processing-everything.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_special_rules/after-processing-everything.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -75,9 +76,6 @@ failed [2,3,] catto [0,2,3,] doggo [1,2,] whalo [3,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_special_rules/start.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_special_rules/start.snap index f5a544f18..30f62c526 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_batches_special_rules/start.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_batches_special_rules/start.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -48,9 +49,6 @@ whalo [3,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_canceled_by/start.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_canceled_by/start.snap index b05f05d5d..3af67a73c 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_canceled_by/start.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_canceled_by/start.snap @@ -1,15 +1,16 @@ --- -source: index-scheduler/src/lib.rs +source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true -### Processing Tasks: +### Processing batch None: [] ---------------------------------------------------------------------- ### All Tasks: -0 {uid: 0, status: succeeded, details: { primary_key: Some("mouse") }, kind: IndexCreation { index_uid: "catto", primary_key: Some("mouse") }} -1 {uid: 1, status: canceled, canceled_by: 3, details: { primary_key: Some("sheep") }, kind: IndexCreation { index_uid: "doggo", primary_key: Some("sheep") }} -2 {uid: 2, status: canceled, canceled_by: 3, details: { swaps: [IndexSwap { indexes: ("catto", "doggo") }] }, kind: IndexSwap { swaps: [IndexSwap { indexes: ("catto", "doggo") }] }} -3 {uid: 3, status: succeeded, details: { matched_tasks: 3, canceled_tasks: Some(0), original_filter: "test_query" }, kind: TaskCancelation { query: "test_query", tasks: RoaringBitmap<[0, 1, 2]> }} +0 {uid: 0, batch_uid: 0, status: succeeded, details: { primary_key: Some("mouse") }, kind: IndexCreation { index_uid: "catto", primary_key: Some("mouse") }} +1 {uid: 1, batch_uid: 1, status: canceled, canceled_by: 3, details: { primary_key: Some("sheep") }, kind: IndexCreation { index_uid: "doggo", primary_key: Some("sheep") }} +2 {uid: 2, batch_uid: 1, status: canceled, canceled_by: 3, details: { swaps: [IndexSwap { indexes: ("catto", "doggo") }] }, kind: IndexSwap { swaps: [IndexSwap { indexes: ("catto", "doggo") }] }} +3 {uid: 3, batch_uid: 1, status: succeeded, details: { matched_tasks: 3, canceled_tasks: Some(2), original_filter: "test_query" }, kind: TaskCancelation { query: "test_query", tasks: RoaringBitmap<[0, 1, 2]> }} ---------------------------------------------------------------------- ### Status: enqueued [] @@ -45,10 +46,41 @@ catto: { number_of_documents: 0, field_distribution: {} } ---------------------------------------------------------------------- ### Finished At: [timestamp] [0,] -[timestamp] [1,2,] [timestamp] [3,] ---------------------------------------------------------------------- +### All Batches: +0 {uid: 0, } +1 {uid: 1, } +---------------------------------------------------------------------- +### Batch to tasks mapping: +0 [0,] +1 [3,] +---------------------------------------------------------------------- +### Batches Status: +succeeded [0,1,] +---------------------------------------------------------------------- +### Batches Kind: +"indexCreation" [0,1,] +"indexSwap" [1,] +"taskCancelation" [1,] +---------------------------------------------------------------------- +### Batches Index Tasks: +catto [0,1,] +doggo [1,] +---------------------------------------------------------------------- +### Batches Enqueued At: +[timestamp] [0,] +[timestamp] [1,] +[timestamp] [1,] +---------------------------------------------------------------------- +### Batches Started At: +[timestamp] [0,] +[timestamp] [1,] +---------------------------------------------------------------------- +### Batches Finished At: +[timestamp] [0,] +[timestamp] [1,] +---------------------------------------------------------------------- ### File Store: ---------------------------------------------------------------------- - diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/processed_all_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/processed_all_tasks.snap index d22441b0b..cb12fa554 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/processed_all_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/processed_all_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -66,9 +67,6 @@ succeeded [0,1,2,] catto [2,] doggo [0,] whalo [1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/registered_the_first_task.snap index c6bf88bb0..64503a754 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggo [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/registered_the_second_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/registered_the_second_task.snap index cae2c4806..171f6dab4 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/registered_the_second_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/registered_the_second_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -42,9 +43,6 @@ whalo [1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/registered_the_third_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/registered_the_third_task.snap index 2346e5e68..f811b99a6 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/registered_the_third_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_from_and_limit/registered_the_third_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -45,9 +46,6 @@ whalo [1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_simple/end.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_simple/end.snap index b87a06b2b..7325520eb 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_simple/end.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_simple/end.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -67,9 +68,6 @@ failed [2,] catto [0,] doggo [1,] whalo [2,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_simple/start.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_simple/start.snap index 7428155e9..78a6c4228 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_simple/start.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_simple/start.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -45,9 +46,6 @@ whalo [2,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_special_rules/start.snap b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_special_rules/start.snap index f5a544f18..30f62c526 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_special_rules/start.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/query_tasks_special_rules/start.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -48,9 +49,6 @@ whalo [3,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/register/everything_is_successfully_registered.snap b/crates/index-scheduler/src/snapshots/lib.rs/register/everything_is_successfully_registered.snap index 62a7ae13a..8341d947d 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/register/everything_is_successfully_registered.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/register/everything_is_successfully_registered.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -47,9 +48,6 @@ doggo [3,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_a.snap b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_a.snap index 91c15c3ee..639972a3e 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_a.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_a.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -57,9 +58,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: a [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_b.snap b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_b.snap index 63e254e35..4b94276ab 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_b.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_b.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -63,9 +64,6 @@ succeeded [0,1,] ### Batches Index Tasks: a [0,] b [1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_c.snap b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_c.snap index 529fa818e..4ab09f46c 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_c.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_c.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -69,9 +70,6 @@ succeeded [0,1,2,] a [0,] b [1,] c [2,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_d.snap b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_d.snap index 9f47fbebd..41d8bec15 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_d.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/create_d.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -75,9 +76,6 @@ a [0,] b [1,] c [2,] d [3,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/first_swap_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/first_swap_processed.snap index 74bf714b1..108a28b11 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/first_swap_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/first_swap_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -85,9 +86,6 @@ a [0,4,] b [1,4,] c [2,4,] d [3,4,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/first_swap_registered.snap b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/first_swap_registered.snap index 23cb14ac1..02b746053 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/first_swap_registered.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/first_swap_registered.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -78,9 +79,6 @@ a [0,] b [1,] c [2,] d [3,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/second_swap_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/second_swap_processed.snap index a279d967f..0209f57bc 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/second_swap_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/second_swap_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -89,9 +90,6 @@ a [0,4,5,] b [1,4,] c [2,4,5,] d [3,4,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/third_empty_swap_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/third_empty_swap_processed.snap index e3be49476..bb165d824 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/third_empty_swap_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/third_empty_swap_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -95,9 +96,6 @@ a [0,4,5,] b [1,4,] c [2,4,5,] d [3,4,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/two_swaps_registered.snap b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/two_swaps_registered.snap index 2014150bb..063b97d62 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/two_swaps_registered.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes/two_swaps_registered.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -80,9 +81,6 @@ a [0,] b [1,] c [2,] d [3,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes_errors/after_the_index_creation.snap b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes_errors/after_the_index_creation.snap index 9f47fbebd..41d8bec15 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes_errors/after_the_index_creation.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes_errors/after_the_index_creation.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -75,9 +76,6 @@ a [0,] b [1,] c [2,] d [3,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes_errors/first_swap_failed.snap b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes_errors/first_swap_failed.snap index df676be58..3bf223e41 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes_errors/first_swap_failed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes_errors/first_swap_failed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -89,9 +90,6 @@ c [2,4,] d [3,4,] e [4,] f [4,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes_errors/initial_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes_errors/initial_tasks_processed.snap index 9f47fbebd..41d8bec15 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes_errors/initial_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/swap_indexes_errors/initial_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -75,9 +76,6 @@ a [0,] b [1,] c [2,] d [3,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_delete_same_task_twice/initial_tasks_enqueued.snap b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_delete_same_task_twice/initial_tasks_enqueued.snap index 88e7db81c..0d51e242c 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_delete_same_task_twice/initial_tasks_enqueued.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_delete_same_task_twice/initial_tasks_enqueued.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -42,9 +43,6 @@ doggo [1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_delete_same_task_twice/initial_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_delete_same_task_twice/initial_tasks_processed.snap index 50d9a972a..e88870283 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_delete_same_task_twice/initial_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_delete_same_task_twice/initial_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -51,9 +52,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: catto [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_delete_same_task_twice/task_deletion_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_delete_same_task_twice/task_deletion_processed.snap index 72dc1bfae..9736e07a7 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_delete_same_task_twice/task_deletion_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_delete_same_task_twice/task_deletion_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -56,9 +57,6 @@ succeeded [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: catto [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/after_registering_the_task_deletion.snap b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/after_registering_the_task_deletion.snap index 42d528498..7dac66431 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/after_registering_the_task_deletion.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/after_registering_the_task_deletion.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -54,9 +55,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: catto [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/initial_tasks_enqueued.snap b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/initial_tasks_enqueued.snap index 88e7db81c..0d51e242c 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/initial_tasks_enqueued.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/initial_tasks_enqueued.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -42,9 +43,6 @@ doggo [1,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/initial_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/initial_tasks_processed.snap index 50d9a972a..e88870283 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/initial_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/initial_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -51,9 +52,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: catto [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/task_deletion_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/task_deletion_processed.snap index 71e834518..6985fe1e5 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/task_deletion_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_deleteable/task_deletion_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -54,9 +55,6 @@ succeeded [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: catto [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/initial_tasks_enqueued.snap b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/initial_tasks_enqueued.snap index 4be93852c..aed0a818a 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/initial_tasks_enqueued.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/initial_tasks_enqueued.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -45,9 +46,6 @@ doggo [2,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/task_deletion_done.snap b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/task_deletion_done.snap index 834dd2e74..3fd3ca34b 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/task_deletion_done.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/task_deletion_done.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -55,9 +56,6 @@ succeeded [0,] "taskDeletion" [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/task_deletion_enqueued.snap b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/task_deletion_enqueued.snap index f5d93baa3..746caa1de 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/task_deletion_enqueued.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/task_deletion_enqueued.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -48,9 +49,6 @@ doggo [2,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/task_deletion_processing.snap b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/task_deletion_processing.snap index d9e7733d4..e72e255e7 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/task_deletion_processing.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/task_deletion_undeleteable/task_deletion_processing.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch Some(0): @@ -48,9 +49,6 @@ doggo [2,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/after_processing_the_10_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/after_processing_the_10_tasks.snap index 10149200c..8ca3aab2b 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/after_processing_the_10_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/after_processing_the_10_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -74,9 +75,6 @@ succeeded [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/after_registering_the_10_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/after_registering_the_10_tasks.snap index fdbef5f31..b6a0c00c9 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/after_registering_the_10_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/after_registering_the_10_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -69,9 +70,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/processed_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/processed_the_first_task.snap index 0260edea5..1f77245be 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/processed_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/processed_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -48,9 +49,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/registered_the_first_task.snap index 198956185..230b5e195 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/after_registering_the_10_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/after_registering_the_10_tasks.snap index 6e4179250..abc31b0cd 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/after_registering_the_10_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/after_registering_the_10_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -69,9 +70,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/all_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/all_tasks_processed.snap index c66a50d47..cc716cfc8 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/all_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/all_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -110,9 +111,6 @@ succeeded [0,1,2,3,4,5,6,7,8,9,10,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,4,5,6,7,8,9,10,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/five_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/five_tasks_processed.snap index 8440c7113..c68517991 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/five_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/five_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -90,9 +91,6 @@ succeeded [0,1,2,3,4,5,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,4,5,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/processed_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/processed_the_first_task.snap index 45eb1b027..f4c3cdc65 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/processed_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/processed_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -48,9 +49,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/registered_the_first_task.snap index d92fa144c..33cea7854 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_with_index_without_autobatching/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index/after_processing_the_10_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index/after_processing_the_10_tasks.snap index 9600955a0..fe329cb55 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index/after_processing_the_10_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index/after_processing_the_10_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -65,9 +66,6 @@ failed [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index/after_registering_the_10_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index/after_registering_the_10_tasks.snap index 06cc66a60..8b463b588 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index/after_registering_the_10_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index/after_registering_the_10_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -57,9 +58,6 @@ doggos [0,1,2,3,4,5,6,7,8,9,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index_without_autobatching/after_registering_the_10_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index_without_autobatching/after_registering_the_10_tasks.snap index 74111aac3..537980795 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index_without_autobatching/after_registering_the_10_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index_without_autobatching/after_registering_the_10_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -57,9 +58,6 @@ doggos [0,1,2,3,4,5,6,7,8,9,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index_without_autobatching/all_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index_without_autobatching/all_tasks_processed.snap index 2fe601741..b3f8a48a5 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index_without_autobatching/all_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index_without_autobatching/all_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -101,9 +102,6 @@ failed [0,1,2,3,4,5,6,7,8,9,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,4,5,6,7,8,9,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index_without_autobatching/five_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index_without_autobatching/five_tasks_processed.snap index bc6fecb2a..468eac198 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index_without_autobatching/five_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_cant_create_index_without_index_without_autobatching/five_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -81,9 +82,6 @@ failed [0,1,2,3,4,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,4,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_right_without_index_starts_with_cant_create/after_registering_the_10_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_right_without_index_starts_with_cant_create/after_registering_the_10_tasks.snap index 8ee0a9b12..3cdee6f23 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_right_without_index_starts_with_cant_create/after_registering_the_10_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_right_without_index_starts_with_cant_create/after_registering_the_10_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -57,9 +58,6 @@ doggos [0,1,2,3,4,5,6,7,8,9,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_right_without_index_starts_with_cant_create/all_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_right_without_index_starts_with_cant_create/all_tasks_processed.snap index 0e225ea8d..92682a4e2 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_right_without_index_starts_with_cant_create/all_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_right_without_index_starts_with_cant_create/all_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -72,9 +73,6 @@ failed [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_right_without_index_starts_with_cant_create/only_first_task_failed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_right_without_index_starts_with_cant_create/only_first_task_failed.snap index ac3c29fcb..87d14ae51 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_right_without_index_starts_with_cant_create/only_first_task_failed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_right_without_index_starts_with_cant_create/only_first_task_failed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -65,9 +66,6 @@ failed [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/after_registering_the_10_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/after_registering_the_10_tasks.snap index 1a0f4a54d..c61ba5983 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/after_registering_the_10_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/after_registering_the_10_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -69,9 +70,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/all_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/all_tasks_processed.snap index feec34884..723a387cd 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/all_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/all_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -74,9 +75,6 @@ succeeded [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/processed_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/processed_the_first_task.snap index 0260edea5..1f77245be 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/processed_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/processed_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -48,9 +49,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/registered_the_first_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/registered_the_first_task.snap index 198956185..230b5e195 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/registered_the_first_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_mixed_rights_with_index/registered_the_first_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/after_registering_the_5_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/after_registering_the_5_tasks.snap index f0f74b328..e8ee841ae 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/after_registering_the_5_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/after_registering_the_5_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -47,9 +48,6 @@ doggos [0,1,2,3,4,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/fifth_task_succeeds.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/fifth_task_succeeds.snap index 953297977..f3ee85d54 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/fifth_task_succeeds.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/fifth_task_succeeds.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -70,9 +71,6 @@ failed [0,2,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/first_and_second_task_fails.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/first_and_second_task_fails.snap index 502fefbfd..ded62c6e1 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/first_and_second_task_fails.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/first_and_second_task_fails.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -56,9 +57,6 @@ failed [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/fourth_task_fails.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/fourth_task_fails.snap index 95c76085b..0d4ea85be 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/fourth_task_fails.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/fourth_task_fails.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -66,9 +67,6 @@ failed [0,2,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/third_task_succeeds.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/third_task_succeeds.snap index e29c5e90c..91ad54ff1 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/third_task_succeeds.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/third_task_succeeds.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -62,9 +63,6 @@ failed [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/after_registering_the_3_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/after_registering_the_3_tasks.snap index 3ea317c43..a3a481855 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/after_registering_the_3_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/after_registering_the_3_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -43,9 +44,6 @@ doggos [0,1,2,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/only_first_task_succeed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/only_first_task_succeed.snap index 651b3cf5b..d43603f3b 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/only_first_task_succeed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/only_first_task_succeed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -52,9 +53,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/second_task_fails.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/second_task_fails.snap index 6fca659b1..913c3e1d9 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/second_task_fails.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/second_task_fails.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -58,9 +59,6 @@ failed [1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/third_task_fails.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/third_task_fails.snap index 18baf7207..5d0251da3 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/third_task_fails.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/third_task_fails.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -62,9 +63,6 @@ failed [1,2,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/after_registering_the_3_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/after_registering_the_3_tasks.snap index 9df0f214d..3eb5c7a4d 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/after_registering_the_3_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/after_registering_the_3_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -43,9 +44,6 @@ doggos [0,1,2,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/only_first_task_succeed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/only_first_task_succeed.snap index cfe528340..a6d327add 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/only_first_task_succeed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/only_first_task_succeed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -52,9 +53,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/second_and_third_tasks_fails.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/second_and_third_tasks_fails.snap index 7ed185b9b..4d7af4a8d 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/second_and_third_tasks_fails.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/second_and_third_tasks_fails.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -58,9 +59,6 @@ failed [1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/after_registering_the_6_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/after_registering_the_6_tasks.snap index 1e6cff26c..3306009aa 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/after_registering_the_6_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/after_registering_the_6_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -49,9 +50,6 @@ doggos [0,1,2,3,4,5,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/all_other_tasks_succeeds.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/all_other_tasks_succeeds.snap index 577938932..1fcaefeed 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/all_other_tasks_succeeds.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/all_other_tasks_succeeds.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -72,9 +73,6 @@ failed [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/first_task_fails.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/first_task_fails.snap index e807035a9..e13c0f6ab 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/first_task_fails.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/first_task_fails.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -58,9 +59,6 @@ failed [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/second_task_fails.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/second_task_fails.snap index 9e718473f..a76a5983e 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/second_task_fails.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/second_task_fails.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -62,9 +63,6 @@ failed [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/third_task_succeeds.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/third_task_succeeds.snap index ec4449e29..507ebe04d 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/third_task_succeeds.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key/third_task_succeeds.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -68,9 +69,6 @@ failed [0,1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/after_registering_the_6_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/after_registering_the_6_tasks.snap index de01fce5a..2876c7681 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/after_registering_the_6_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/after_registering_the_6_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -49,9 +50,6 @@ doggos [0,1,2,3,4,5,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/all_other_tasks_succeeds.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/all_other_tasks_succeeds.snap index b4d54f680..90807eeb8 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/all_other_tasks_succeeds.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/all_other_tasks_succeeds.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -72,9 +73,6 @@ failed [1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/first_task_succeed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/first_task_succeed.snap index 8f4ceb94e..bdfc30547 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/first_task_succeed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/first_task_succeed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -58,9 +59,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/second_task_fails.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/second_task_fails.snap index 350ace217..5c34f53c0 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/second_task_fails.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/second_task_fails.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -64,9 +65,6 @@ failed [1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/third_task_succeeds.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/third_task_succeeds.snap index f908e7a8c..3c18f87b2 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/third_task_succeeds.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/third_task_succeeds.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -68,9 +69,6 @@ failed [1,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace/1.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace/1.snap index 355ef8821..a5fbc024c 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace/1.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace/1.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -57,9 +58,6 @@ doggos [0,1,2,3,4,5,6,7,8,9,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace/2.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace/2.snap index c3ff75f58..916f0ae0f 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace/2.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace/2.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -66,9 +67,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace_without_autobatching/after_registering_the_10_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace_without_autobatching/after_registering_the_10_tasks.snap index 88d9addb8..ba16d64f1 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace_without_autobatching/after_registering_the_10_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace_without_autobatching/after_registering_the_10_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -57,9 +58,6 @@ doggos [0,1,2,3,4,5,6,7,8,9,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace_without_autobatching/all_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace_without_autobatching/all_tasks_processed.snap index 40b51ed14..0ea35496e 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace_without_autobatching/all_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace_without_autobatching/all_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -102,9 +103,6 @@ succeeded [0,1,2,3,4,5,6,7,8,9,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,4,5,6,7,8,9,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace_without_autobatching/five_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace_without_autobatching/five_tasks_processed.snap index 62ea510d1..140f540c6 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace_without_autobatching/five_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_replace_without_autobatching/five_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -82,9 +83,6 @@ succeeded [0,1,2,3,4,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,4,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_update/1.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_update/1.snap index 7aeb7da17..5444d0a3e 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_update/1.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_update/1.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -57,9 +58,6 @@ doggos [0,1,2,3,4,5,6,7,8,9,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_update/2.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_update/2.snap index a922b0595..502493423 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_update/2.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_update/2.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -66,9 +67,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_update_without_autobatching/after_registering_the_10_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_update_without_autobatching/after_registering_the_10_tasks.snap index fea75fb83..35368e4b3 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_update_without_autobatching/after_registering_the_10_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_update_without_autobatching/after_registering_the_10_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -57,9 +58,6 @@ doggos [0,1,2,3,4,5,6,7,8,9,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_update_without_autobatching/all_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_update_without_autobatching/all_tasks_processed.snap index 2f8a5e4d8..924033507 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_update_without_autobatching/all_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_update_without_autobatching/all_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -102,9 +103,6 @@ succeeded [0,1,2,3,4,5,6,7,8,9,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,4,5,6,7,8,9,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_document_update_without_autobatching/five_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_document_update_without_autobatching/five_tasks_processed.snap index ca1f46581..c762ac7f0 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_document_update_without_autobatching/five_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_document_update_without_autobatching/five_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = false ### Processing batch None: @@ -82,9 +83,6 @@ succeeded [0,1,2,3,4,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,4,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_mixed_document_addition/after_registering_the_10_tasks.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_mixed_document_addition/after_registering_the_10_tasks.snap index 6575b835d..773f43c2c 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_mixed_document_addition/after_registering_the_10_tasks.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_mixed_document_addition/after_registering_the_10_tasks.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -57,9 +58,6 @@ doggos [0,1,2,3,4,5,6,7,8,9,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_mixed_document_addition/all_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_mixed_document_addition/all_tasks_processed.snap index 453ff8c61..392ea405a 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_mixed_document_addition/all_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_mixed_document_addition/all_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -102,9 +103,6 @@ succeeded [0,1,2,3,4,5,6,7,8,9,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,4,5,6,7,8,9,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_mixed_document_addition/five_tasks_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_mixed_document_addition/five_tasks_processed.snap index 1e06b6dce..cd08d9289 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_mixed_document_addition/five_tasks_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_mixed_document_addition/five_tasks_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -82,9 +83,6 @@ succeeded [0,1,2,3,4,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,1,2,3,4,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_settings_update/after_registering_settings_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_settings_update/after_registering_settings_task.snap index dd81f33e7..22900371e 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_settings_update/after_registering_settings_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_settings_update/after_registering_settings_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ doggos [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_settings_update/settings_update_processed.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_settings_update/settings_update_processed.snap index d889e5706..a5b4849a9 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_settings_update/settings_update_processed.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_settings_update/settings_update_processed.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -48,9 +49,6 @@ succeeded [0,] ---------------------------------------------------------------------- ### Batches Index Tasks: doggos [0,] ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: [timestamp] [0,] diff --git a/crates/index-scheduler/src/snapshots/lib.rs/test_task_is_processing/registered_a_task.snap b/crates/index-scheduler/src/snapshots/lib.rs/test_task_is_processing/registered_a_task.snap index 05bad8454..e3627bbd3 100644 --- a/crates/index-scheduler/src/snapshots/lib.rs/test_task_is_processing/registered_a_task.snap +++ b/crates/index-scheduler/src/snapshots/lib.rs/test_task_is_processing/registered_a_task.snap @@ -1,5 +1,6 @@ --- source: crates/index-scheduler/src/lib.rs +snapshot_kind: text --- ### Autobatching Enabled = true ### Processing batch None: @@ -39,9 +40,6 @@ index_a [0,] ### Batches Kind: ---------------------------------------------------------------------- ### Batches Index Tasks: ----------------------------------------------------------------------- -### Batches Canceled By: - ---------------------------------------------------------------------- ### Batches Enqueued At: ---------------------------------------------------------------------- diff --git a/crates/index-scheduler/src/utils.rs b/crates/index-scheduler/src/utils.rs index 8ffef39f3..edb413600 100644 --- a/crates/index-scheduler/src/utils.rs +++ b/crates/index-scheduler/src/utils.rs @@ -138,6 +138,7 @@ impl IndexScheduler { bitmap.insert(batch.uid); })?; } + if let Some(enqueued_at) = batch.oldest_enqueued_at { insert_task_datetime(wtxn, self.batch_enqueued_at, enqueued_at, batch.uid)?; } @@ -204,6 +205,8 @@ impl IndexScheduler { pub(crate) fn update_task(&self, wtxn: &mut RwTxn, task: &Task) -> Result<()> { let old_task = self.get_task(wtxn, task.uid)?.ok_or(Error::CorruptedTaskQueue)?; + dbg!(&task); + debug_assert_eq!(old_task.uid, task.uid); debug_assert!(old_task.batch_uid.is_none() && task.batch_uid.is_some());