소스 검색

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 달 전
부모
커밋
2ab3c163ce
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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):