mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Keep persisting tmp files in database directory and put non-persisting tmp files in default tmp dir
This commit is contained in:
parent
79817bd465
commit
b4038597ba
7 changed files with 10 additions and 35 deletions
|
@ -52,7 +52,7 @@ impl UpdateStore {
|
|||
uuids: &HashSet<Uuid>,
|
||||
path: impl AsRef<Path>,
|
||||
) -> Result<()> {
|
||||
let mut dump_data_file = NamedTempFile::new()?;
|
||||
let mut dump_data_file = NamedTempFile::new_in(&path)?;
|
||||
|
||||
self.dump_pending(txn, uuids, &mut dump_data_file, &path)?;
|
||||
self.dump_completed(txn, uuids, &mut dump_data_file)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue