diff --git a/src/backup/chunk_store.rs b/src/backup/chunk_store.rs index fba15294..53bec858 100644 --- a/src/backup/chunk_store.rs +++ b/src/backup/chunk_store.rs @@ -139,6 +139,7 @@ impl ChunkStore { let mut lockfile_path = base.clone(); lockfile_path.push(".lock"); + // make sure only one process/thread/task can use it let lockfile = lock_file(lockfile_path, 10)?; Ok(ChunkStore {