mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
Update index-scheduler/src/batch.rs
This commit is contained in:
parent
c9f89d38e3
commit
87cac158c4
@ -875,7 +875,6 @@ impl IndexScheduler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 2. Get the task set for index = name that appeared before the index swap task
|
// 2. Get the task set for index = name that appeared before the index swap task
|
||||||
|
|
||||||
let mut index_lhs_task_ids = self.index_tasks(wtxn, lhs)?;
|
let mut index_lhs_task_ids = self.index_tasks(wtxn, lhs)?;
|
||||||
index_lhs_task_ids.remove_range(task_id..);
|
index_lhs_task_ids.remove_range(task_id..);
|
||||||
let mut index_rhs_task_ids = self.index_tasks(wtxn, rhs)?;
|
let mut index_rhs_task_ids = self.index_tasks(wtxn, rhs)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user