Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
omdb db validate
subcommands (#4376)
In order to diagnose if customer-support#57 is caused by _not_ having the fixes for omicron#3866, add a few commands to omdb to validate the contents of the database: Usage: omdb db validate <COMMAND> Commands: validate-volume-references Validate each `volume_references` column in the region snapshots table validate-region-snapshots Find either region snapshots Nexus knows about that the corresponding Crucible agent says were deleted, or region snapshots that Nexus doesn't know about help Print this message or the help of the given subcommand(s) This commit also adds an environment variable OMDB_FETCH_LIMIT, which overrides the default fetch limit.
- Loading branch information