From af0608ebd6d1c67debf4ec43cf3ece2dab1448c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Thu, 16 Oct 2025 16:36:51 +0200 Subject: [PATCH] Continue to the next index if index doesn't exists --- crates/index-scheduler/src/scheduler/process_batch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/index-scheduler/src/scheduler/process_batch.rs b/crates/index-scheduler/src/scheduler/process_batch.rs index 36ca68ed9..318b01736 100644 --- a/crates/index-scheduler/src/scheduler/process_batch.rs +++ b/crates/index-scheduler/src/scheduler/process_batch.rs @@ -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)) {