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:
parent
ba3e701730
commit
2ab3c163ce
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ def load_chunks_hash(repository) -> bytes:
|
||||||
return hash
|
return hash
|
||||||
|
|
||||||
|
|
||||||
CHUNKINDEX_HASH_SEED = 1
|
CHUNKINDEX_HASH_SEED = 2
|
||||||
|
|
||||||
|
|
||||||
def write_chunkindex_to_repo_cache(repository, chunks, *, clear=False, force_write=False):
|
def write_chunkindex_to_repo_cache(repository, chunks, *, clear=False, force_write=False):
|
||||||
|
|
Loading…
Reference in a new issue