Skip to content

Start drainer server failed due to table dm_meta.testdm_syncer_checkpoint: table not exist #1217

@mayjiang0203

Description

@mayjiang0203

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
    Deploy dm then stop.
    Open pump and drainer.

  2. What did you expect to see?
    No error report.

  3. What did you see instead?

[2023/02/28 03:33:55.157 +00:00] [ERROR] [main.go:69] ["start drainer server failed"] [error="table `dm_meta`.`testdm_syncer_checkpoint`: table not exist"] [errorVerbose="table not exist\[ngithub.com/pingcap/tidb-binlog/pkg/loader.init\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb-binlog/pkg/loader/util.go:38\nruntime.doInit\n\t/usr/local/go/src/runtime/proc.go:6329\nruntime.doInit\n\t/usr/local/go/src/runtime/proc.go:6306\nruntime.doInit\n\t/usr/local/go/src/runtime/proc.go:6306\nruntime.doInit\n\t/usr/local/go/src/runtime/proc.go:6306\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:233\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1594\ntable](http://ngithub.com/pingcap/tidb-binlog/pkg/loader.init/n/t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb-binlog/pkg/loader/util.go:38/nruntime.doInit/n/t/usr/local/go/src/runtime/proc.go:6329/nruntime.doInit/n/t/usr/local/go/src/runtime/proc.go:6306/nruntime.doInit/n/t/usr/local/go/src/runtime/proc.go:6306/nruntime.doInit/n/t/usr/local/go/src/runtime/proc.go:6306/nruntime.main/n/t/usr/local/go/src/runtime/proc.go:233/nruntime.goexit/n/t/usr/local/go/src/runtime/asm_amd64.s:1594/ntable) `dm_meta`.`testdm_syncer_checkpoint`"]
  1. Please provide the relate downstream type and version of drainer.
    (run drainer -V in terminal to get drainer's version)
    /var/lib/pump-tls # /drainer -V
    Release Version: v6.5.1
    Git Commit Hash: 589d79b
    Build TS: 2023-02-16 06:11:19
    Go Version: go1.19.5
    Go OS/Arch: linux/amd64

w/a is skip this database in drainer's sync config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThis issue is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions