mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
9b9607b02e
Summary: There are blobs that fail to scrub and terminate the process early for a variety of reasons; when this is running as a background task, it'd be nice to get the remaining keys scrubbed, so that you don't have a large number of keys to fix up later. Instead of simply outputting to stdout, write keys to one of three files in the format accepted on stdin: 1. Success; you can use `sort` and `comm -3` to remove these keys from the input dat, thus ensuring that you can continue scrubbing. 2. Missing; you can look at these keys to determine which blobs are genuinely lost from all blobstores, and fix up. 3. Error; these will need running through scrub again to determine what's broken. Reviewed By: krallin Differential Revision: D23574855 fbshipit-source-id: a613e93a38dc7c3465550963c3b1c757b7371a3b |
||
---|---|---|
.. | ||
blobstore.rs | ||
main.rs | ||
scrub.rs |