Skip to content

Commit

Permalink
Refactor db scan checks and include in delete (cadence-workflow#3193)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjdawson2016 authored Apr 15, 2020
1 parent 5ba2353 commit 9e6ce72
Show file tree
Hide file tree
Showing 7 changed files with 944 additions and 748 deletions.
8 changes: 8 additions & 0 deletions tools/cli/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,10 @@ func newDBCommands() []cli.Command {
Name: FlagReportRate,
Usage: "the number of shards which get handled between each emitting of progress",
Value: 10,
},
cli.BoolFlag{
Name: FlagSkipHistoryChecks,
Usage: "skip over history check invariants",
}),
Action: func(c *cli.Context) {
AdminDBScan(c)
Expand Down Expand Up @@ -822,6 +826,10 @@ func newDBCommands() []cli.Command {
Name: FlagReportRate,
Usage: "the number of shards which get handled between each emitting of progress",
Value: 10,
},
cli.BoolFlag{
Name: FlagSkipHistoryChecks,
Usage: "skip over history check invariants",
}),
Action: func(c *cli.Context) {
AdminDBClean(c)
Expand Down
Loading

0 comments on commit 9e6ce72

Please sign in to comment.