We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--panic-on-warnings
--exact-rowcount
1 parent c62b1e2 commit 371aca2Copy full SHA for 371aca2
go/cmd/gh-ost/main.go
@@ -316,6 +316,9 @@ func main() {
316
if migrationContext.CheckpointIntervalSeconds < 10 {
317
migrationContext.Log.Fatalf("--checkpoint-seconds should be >=10")
318
}
319
+ if migrationContext.CountTableRows && migrationContext.PanicOnWarnings {
320
+ migrationContext.Log.Warning("--exact-rowcount with --panic-on-warnings: row counts cannot be exact due to warning detection")
321
+ }
322
323
switch *cutOver {
324
case "atomic", "default", "":
0 commit comments