-
-
Notifications
You must be signed in to change notification settings - Fork 751
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ChunkIndex: enable partial index updates
- ChunkIndex: implement system flags - ChunkIndex: F_NEW flag as 1st system flag for newly added chunks - incrementally write only NEW chunks to repo/cache/chunks.* - merge all chunks.* when loading the ChunkIndex from the repo Also: the cached ChunkIndex only has the chunk IDs. All values are just dummies. The ChunkIndexEntry value can be used to set flags and track size, but we intentionally do not persist flags and size to the cache. The size information gets set when borg loads the files cache and "compresses" the chunks lists in the files cache entries. After that, all chunks referenced by the files cache will have a valid size as long as the ChunkIndex is in memory. This is needed so that "uncompress" can work.
- Loading branch information
1 parent
4ed03c1
commit d5d49e8
Showing
5 changed files
with
101 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters