1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-03 05:35:58 +00:00

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.
This commit is contained in:
Thomas Waldmann 2024-11-01 23:57:38 +01:00
parent ba3e701730
commit 2ab3c163ce
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -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):