mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-06 04:36:32 +00:00
Fix newly introduced bug
This commit is contained in:
@ -734,7 +734,7 @@ impl IndexScheduler {
|
|||||||
// We must remove the batch from all the reverse indexes it no longer has tasks for.
|
// We must remove the batch from all the reverse indexes it no longer has tasks for.
|
||||||
|
|
||||||
for (index, index_tasks) in affected_indexes_tasks.iter() {
|
for (index, index_tasks) in affected_indexes_tasks.iter() {
|
||||||
if !index_tasks.is_disjoint(&tasks) {
|
if index_tasks.is_disjoint(&tasks) {
|
||||||
to_remove_from_indexes
|
to_remove_from_indexes
|
||||||
.entry(index)
|
.entry(index)
|
||||||
.or_insert_with(RoaringBitmap::new)
|
.or_insert_with(RoaringBitmap::new)
|
||||||
@ -743,7 +743,7 @@ impl IndexScheduler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (status, status_tasks) in affected_statuses_tasks.iter() {
|
for (status, status_tasks) in affected_statuses_tasks.iter() {
|
||||||
if !status_tasks.is_disjoint(&tasks) {
|
if status_tasks.is_disjoint(&tasks) {
|
||||||
to_remove_from_statuses
|
to_remove_from_statuses
|
||||||
.entry(*status)
|
.entry(*status)
|
||||||
.or_insert_with(RoaringBitmap::new)
|
.or_insert_with(RoaringBitmap::new)
|
||||||
@ -752,7 +752,7 @@ impl IndexScheduler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (kind, kind_tasks) in affected_kinds_tasks.iter() {
|
for (kind, kind_tasks) in affected_kinds_tasks.iter() {
|
||||||
if !kind_tasks.is_disjoint(&tasks) {
|
if kind_tasks.is_disjoint(&tasks) {
|
||||||
to_remove_from_kinds
|
to_remove_from_kinds
|
||||||
.entry(*kind)
|
.entry(*kind)
|
||||||
.or_insert_with(RoaringBitmap::new)
|
.or_insert_with(RoaringBitmap::new)
|
||||||
|
Reference in New Issue
Block a user