sapling/eden/mononoke/cmds/manual_scrub
Simon Farnsworth 9b9607b02e Have manual_scrub continue on errors, writing out files to let you retry instead
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
2020-09-09 07:25:13 -07:00
..
blobstore.rs Command to manually scrub keys supplied on stdin 2020-07-10 01:01:05 -07:00
main.rs Have manual_scrub continue on errors, writing out files to let you retry instead 2020-09-09 07:25:13 -07:00
scrub.rs Have manual_scrub continue on errors, writing out files to let you retry instead 2020-09-09 07:25:13 -07:00