Skip to content

cache coherency issues leading to a slowdown #8503

Closed
@ThomasWaldmann

Description

@ThomasWaldmann

From #8451 (comment) :

borg 2.0.0b12

There's an issue with the ChunkIndex cache if a connection breaks down:

  • borg2 uses a ChunkIndex cache since recently, stored in repository/cache/chunks (and a checksum of it in chunks_hash).
  • if borg2 create does not complete, it does not update that cache.
  • in that case, there is still a valid cache, but it represents the repository contents from when the last backup ended normally and does not know about the chunks transmitted in the interrupted backup run.
  • workaround: if one would kill that cache, borg would rebuild it by listing all objects in the repository (slow, but without much traffic) and it would then represent all currently present chunks in the repo.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions