Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to check whether the table can be duplicated by CDC #368

Merged
merged 15 commits into from
Mar 25, 2020
Merged
Prev Previous commit
Next Next commit
fix bug
  • Loading branch information
leoppro committed Mar 24, 2020
commit 0df26e8c229a4868f5c449884027c2716be8456f
4 changes: 3 additions & 1 deletion cmd/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
"strings"
"time"

"github.com/pingcap/log"

"github.com/pingcap/ticdc/cdc/entry"

"github.com/BurntSushi/toml"
Expand Down Expand Up @@ -208,7 +210,7 @@ func newCreateChangefeedCommand() *cobra.Command {
return err
}
if strings.TrimSpace(yOrN) != "Y" {
cmd.Printf("Failed to create changefeed\n")
log.S().Fatal("Failed to create changefeed\n")
}
}
}
Expand Down