From e644aa07a962306d77e5e5f2ff89ce3ad74b3da3 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Mon, 17 Jun 2024 16:41:31 +0200 Subject: [PATCH] change generation --- meilisearch/src/routes/indexes/documents.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/meilisearch/src/routes/indexes/documents.rs b/meilisearch/src/routes/indexes/documents.rs index 4d1374265..54ed50087 100644 --- a/meilisearch/src/routes/indexes/documents.rs +++ b/meilisearch/src/routes/indexes/documents.rs @@ -473,6 +473,7 @@ async fn document_addition( }; let scheduler = index_scheduler.clone(); + ALLOC.next_generation(); for (address, entry) in ALLOC.find_older_generations(5) { println!( "Found allocation older than 5 generations: {address:p} in generation {}. Span trace",