meilisearch/MeiliSearch

Make sure payloads are effectively deleted on error

Open

#6048 opened on Dec 11, 2025

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Rust (20,887 stars) (733 forks)batch import
Internal workaffects costsbuggood first issue

Description

We found out that some payloads are not removed from the disk when an error occurs before we are able to put them in the FileStore. I would suggest we should create a temporary temporary file and extract it at the last moment.

Originally posted by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6000#discussion_r2602149151

Contributor guide