meilisearch/MeiliSearch

Make sure payloads are effectively deleted on error

Aperta

#6048 aperta il 11 dic 2025

 (2 commenti) (0 reazioni) (0 assegnatari)Rust (2542 fork)batch import
Internal workaffects costsbuggood first issue

Metriche repository

Star
 (57.572 stelle)
Metriche merge PR
 (Merge medio 11g 20h) (41 PR mergiate in 30 g)

Descrizione

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

Guida contributor