-
Notifications
You must be signed in to change notification settings - Fork 805
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an "all results" query to scanner/fixer workflows (#5470)
# What This PR adds an `all_results` query to both scanner and fixer workflows, to retrieve all (non-empty) results in one operation. This makes it easier to find all failures and all output filenames, without having to repeatedly query in varying ways. # Why Currently, getting all output filenames from these workflows is an exercise in frustration. You can: - query `shard_corrupt_keys` to get all shards with corruptions (no data on fails, etc) - query `shard_report` to get a *single* shard's corruptions, errors, skips, control-flow failures - browse activity results by hand to discover ^ this in bulk But unfortunately: - metrics do not contain per-shard info so finding the relevant activity or shard is hard - there are essentially no logs in this entire system (!?!) - there is currently no query to get both failures and corruptions/fixes in bulk - if one invariant reports "fixed" and then the next returns "fail" because the fix removed data, the end result goes into "failures". this is true for scans too, corrupt + fail == fail. Many small bits of friction make trying to bulk-analyze this system *incredibly* painful. While we do need to just rewrite the whole thing to be less... like it is... we can at least expose this bulk info quite easily in a new query.
- Loading branch information
Showing
4 changed files
with
80 additions
and
0 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