diff --git a/crates/index-scheduler/src/scheduler/process_dump_creation.rs b/crates/index-scheduler/src/scheduler/process_dump_creation.rs index 4f3ec0fdd..7c7ae11f6 100644 --- a/crates/index-scheduler/src/scheduler/process_dump_creation.rs +++ b/crates/index-scheduler/src/scheduler/process_dump_creation.rs @@ -83,12 +83,6 @@ impl IndexScheduler { t.finished_at = Some(finished_at); } - // Patch the task to remove the batch uid, because as of v1.12.5 batches are not persisted. - // This prevent from referencing *future* batches not actually associated with the task. - // - // See for details. - t.batch_uid = None; - let mut dump_content_file = dump_tasks.push_task(&t.into())?; // 3.1. Dump the `content_file` associated with the task if there is one and the task is not finished yet.