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",