-
-
Notifications
You must be signed in to change notification settings - Fork 743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cache coherency issues leading to a slowdown #8503
Comments
There can be similar issues if multiple It never leads to corruption though, because only Without the cache, that all would be way simpler. Pity that listing all repo objects takes so long that we need a cache. |
Some ideas about how to solve this:
|
Even easier, compared to previous post:
|
- doesn't need a separate file for the hash - we can later write multiple partial chunkindexes to the cache also: add upgrade code that renames the cache from previous borg versions.
- doesn't need a separate file for the hash - we can later write multiple partial chunkindexes to the cache also: add upgrade code that renames the cache from previous borg versions.
- doesn't need a separate file for the hash - we can later write multiple partial chunkindexes to the cache also: add upgrade code that renames the cache from previous borg versions.
- doesn't need a separate file for the hash - we can later write multiple partial chunkindexes to the cache also: add upgrade code that renames the cache from previous borg versions.
chunk index cache: use cache/chunks.<HASH>, see #8503
#8531 solves the mentioned issues when running multiple |
#8541 saves the new stuff from the chunk index every 10 minutes to repo/cache/chunks.*, so progress won't be lost if connection breaks down or borg is ctrl-c'ed. note: this refers only to the chunk index, so borg will "know" what chunks are in the repo. the files cache is currently only saved at the end, so that can still be a problem. |
From #8451 (comment) :
borg 2.0.0b12
There's an issue with the ChunkIndex cache if a connection breaks down:
The text was updated successfully, but these errors were encountered: