Open cyliu0 opened 4 years ago
Got the same issue with
use cy;
create table t1 (a int);
create view cy1.v as select * from t1;
[2020/05/21 16:35:35.048 +08:00] [INFO] [syncer.go:442] ["add ddl item to syncer, you can add this commit ts to `ignore-txn-commit-ts` to skip this ddl if needed"] [sql="create view cy1.v as select * from t1"] ["commit ts"=416822102122823684]
[2020/05/21 16:35:40.065 +08:00] [WARN] [load.go:735] ["ignore ddl"] [error="Error 1146: Table 'cy1.t1' doesn't exist"] [errorVerbose="Error 1146: Table 'cy1.t1' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\t/home/zyguan/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20190809092503-95897b64e011/errors.go:174\ngithub.com/pingcap/errors.Trace\n\t/home/zyguan/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20190809092503-95897b64e011/juju_adaptor.go:15\ngithub.com/pingcap/tidb-binlog/pkg/loader.(*loaderImpl).execDDL\n\t/home/zyguan/tidb-binlog/pkg/loader/load.go:420\ngithub.com/pingcap/tidb-binlog/pkg/loader.(*batchManager).execDDL\n\t/home/zyguan/tidb-binlog/pkg/loader/load.go:730\ngithub.com/pingcap/tidb-binlog/pkg/loader.(*batchManager).put\n\t/home/zyguan/tidb-binlog/pkg/loader/load.go:753\ngithub.com/pingcap/tidb-binlog/pkg/loader.(*loaderImpl).Run\n\t/home/zyguan/tidb-binlog/pkg/loader/load.go:605\ngithub.com/pingcap/tidb-binlog/drainer/sync.(*MysqlSyncer).run\n\t/home/zyguan/tidb-binlog/drainer/sync/mysql.go:232\nruntime.goexit\n\t/usr/local/lib/go1.13.5/src/runtime/asm_amd64.s:1357"] [ddl="create view cy1.v as select * from t1"]
Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you do? If possible, provide a recipe for reproducing the error. On the upstream TiDB
What did you expect to see? CY1.t4 created both on upstream and downstream TiDB
What did you see instead? CY1.t4 created on upstream.
drainer error:
drainer -V
in terminal to get drainer's version)