mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 10:07:40 +08:00
Prefer using TaskDeletion in the dumps
This commit is contained in:
parent
1ca9a67c49
commit
591527a99d
@ -117,7 +117,7 @@ pub enum KindDump {
|
||||
query: String,
|
||||
tasks: Vec<TaskId>,
|
||||
},
|
||||
DeleteTasks {
|
||||
TasksDeletion {
|
||||
query: String,
|
||||
tasks: RoaringBitmap,
|
||||
},
|
||||
@ -186,7 +186,7 @@ impl From<KindWithContent> for KindDump {
|
||||
KindDump::TaskCancelation { query, tasks }
|
||||
}
|
||||
KindWithContent::TaskDeletion { query, tasks } => {
|
||||
KindDump::DeleteTasks { query, tasks }
|
||||
KindDump::TasksDeletion { query, tasks }
|
||||
}
|
||||
KindWithContent::DumpExport {
|
||||
dump_uid,
|
||||
|
@ -526,7 +526,7 @@ impl IndexScheduler {
|
||||
KindDump::TaskCancelation { query, tasks } => {
|
||||
KindWithContent::TaskCancelation { query, tasks }
|
||||
}
|
||||
KindDump::DeleteTasks { query, tasks } => {
|
||||
KindDump::TasksDeletion { query, tasks } => {
|
||||
KindWithContent::TaskDeletion { query, tasks }
|
||||
}
|
||||
KindDump::DumpExport {
|
||||
|
Loading…
Reference in New Issue
Block a user