Continue to the next index if index doesn't exists

This commit is contained in:
Clément Renault
2025-10-16 16:36:51 +02:00
parent 8c7e5c094e
commit af0608ebd6

View File

@@ -998,7 +998,7 @@ impl IndexScheduler {
let index_path = match self.index_mapper.index_mapping.get(rtxn, &index_uid)? {
Some(index_uuid) => self.index_mapper.index_path(index_uuid),
None => return Err(Error::IndexNotFound(index_uid)),
None => continue,
};
if let Err(e) = remove_file(index_path.join(DATA_MDB_COPY_NAME)) {