Update heed and milli

This commit is contained in:
Clémentine Urquizar 2021-06-29 10:25:47 +02:00
parent 261df4b386
commit c09e610bb5
No known key found for this signature in database
GPG key ID: D8E7CC7422E77E1A
3 changed files with 16 additions and 16 deletions

View file

@ -42,7 +42,7 @@ fst = "0.4.5"
futures = "0.3.7"
futures-util = "0.3.8"
grenad = { git = "https://github.com/Kerollmops/grenad.git", rev = "3adcb26" }
heed = "0.10.6"
heed = { git = "https://github.com/Kerollmops/heed", tag = "v0.12.0" }
http = "0.2.1"
indexmap = { version = "1.3.2", features = ["serde-1"] }
itertools = "0.10.0"
@ -51,7 +51,7 @@ main_error = "0.1.0"
meilisearch-error = { path = "../meilisearch-error" }
meilisearch-tokenizer = { git = "https://github.com/meilisearch/tokenizer.git", tag = "v0.2.3" }
memmap = "0.7.0"
milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.6.0" }
milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.7.0" }
mime = "0.3.16"
num_cpus = "1.13.0"
once_cell = "1.5.2"

View file

@ -439,7 +439,9 @@ impl UpdateStore {
while let Some(Ok(((_, uuid, _), pending))) = pendings.next() {
if uuid == index_uuid {
pendings.del_current()?;
unsafe {
pendings.del_current()?;
}
let mut pending = pending.decode()?;
if let Some(update_uuid) = pending.content.take() {
uuids_to_remove.push(update_uuid);
@ -456,7 +458,9 @@ impl UpdateStore {
.lazily_decode_data();
while let Some(_) = updates.next() {
updates.del_current()?;
unsafe {
updates.del_current()?;
}
}
drop(updates);