From 2ab3c163ce5fb24de063520f86a49b646289afe9 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 1 Nov 2024 23:57:38 +0100 Subject: [PATCH] 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. --- src/borg/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/cache.py b/src/borg/cache.py index 27f38825f..ed5c11c1e 100644 --- a/src/borg/cache.py +++ b/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):