mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-06 04:36:32 +00:00
Fix #5832
This commit is contained in:
@ -83,12 +83,6 @@ impl IndexScheduler {
|
|||||||
t.finished_at = Some(finished_at);
|
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 <https://github.com/meilisearch/meilisearch/issues/5247> for details.
|
|
||||||
t.batch_uid = None;
|
|
||||||
|
|
||||||
let mut dump_content_file = dump_tasks.push_task(&t.into())?;
|
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.
|
// 3.1. Dump the `content_file` associated with the task if there is one and the task is not finished yet.
|
||||||
|
Reference in New Issue
Block a user