meilisearch/MeiliSearch

Make sure payloads are effectively deleted on error

Open

#6,048 opened on Dec 11, 2025

 (2 comments) (0 reactions) (0 assignees)Rust (2,542 forks)batch import
Internal workaffects costsbuggood first issue

Repository metrics

Stars
 (57,572 stars)
PR merge metrics
 (Avg merge 11d 20h) (41 merged PRs in 30d)

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