Browse Source

invalidate existing cache by incrementing the ChunkIndex seed

we changed the semantics (and name) of the first tuple element:
refcount -> flags

thus, better invalidate existing cache.
Thomas Waldmann 7 months ago
parent
commit
2ab3c163ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/borg/cache.py

+ 1 - 1
src/borg/cache.py

@@ -671,7 +671,7 @@ def load_chunks_hash(repository) -> bytes:
     return hash
 
 
-CHUNKINDEX_HASH_SEED = 1
+CHUNKINDEX_HASH_SEED = 2
 
 
 def write_chunkindex_to_repo_cache(repository, chunks, *, clear=False, force_write=False):