mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Make sure that we do not batch tasks from different indexes
This commit is contained in:
committed by
Clément Renault
parent
b029369653
commit
e4d461ecba
@ -276,7 +276,7 @@ impl IndexScheduler {
|
||||
if let Some(index) = query.index_uid {
|
||||
let mut index_tasks = RoaringBitmap::new();
|
||||
for index in index {
|
||||
index_tasks |= self.get_index(&rtxn, &index)?;
|
||||
index_tasks |= self.index_tasks(&rtxn, &index)?;
|
||||
}
|
||||
tasks &= index_tasks;
|
||||
}
|
||||
|
Reference in New Issue
Block a user