forked from kopia/kopia
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(repository): Disable manifest manager compaction when in read-onl…
…y mode (kopia#3226) * Thread ReadOnly option to manifest manager Don't allow attempting to compact manifests if the repo was opened read-only. * Add test for disabling compaction in readonly mode * Allow content manager to say if it's readonly This can be leveraged by higher layers to determine if they should attempt operations such as manifest compaction. * Rework manifest compaction checks Use whether the content manager is in read-only mode to help determine if manifests should be compacted or not.
- Loading branch information
Showing
4 changed files
with
56 additions
and
2 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