Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix testbackupstorepatch for BackupFileSystem.
* Make testbackupstorepatch do housekeeping in-process to make debugging easier. * Check return value of housekeeping to ensure that no errors were detected. * Initialise and update file size in blocks in patch-combining transactions. * Take locks in testbackupstorepatch to hopefully prevent race conditions leading to store corruption and unreliable tests when using housekeeping out-of-process. * Eliminate some copy-pasted duplicate code in BackupFileSystem and in housekeeping. * Delay RemoveASAP deletions to avoid false positive mismatches of block and reference counts being reported as errors during housekeeping.
- Loading branch information
Showing
5 changed files
with
354 additions
and
190 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
Oops, something went wrong.