Skip to content

Commit

Permalink
check: hint about chunks cache rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Sep 24, 2024
1 parent 49c3bd6 commit 3101a7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/borg/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -2100,7 +2100,7 @@ def valid_item(obj):

def finish(self):
if self.repair:
logger.info("Writing Manifest.")
logger.info("Deleting chunks cache in repository - next repository access will cause a rebuild.")
# we may have deleted chunks, invalidate/remove the chunks index cache!
try:
self.repository.store_delete("cache/chunks_hash")
Expand All @@ -2112,6 +2112,7 @@ def finish(self):
except (Repository.ObjectNotFound, StoreObjectNotFound):
# TODO: ^ seem like RemoteRepository raises Repository.ONF instead of StoreONF
pass
logger.info("Writing Manifest.")
self.manifest.write()


Expand Down

0 comments on commit 3101a7e

Please sign in to comment.