Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Fail to drop not exist table. #975

Closed
GMHDBJD opened this issue Sep 2, 2020 · 0 comments · Fixed by #985
Closed

Fail to drop not exist table. #975

GMHDBJD opened this issue Sep 2, 2020 · 0 comments · Fixed by #985
Assignees
Labels
help wanted This issue wanted some help from contributor severity/major type/bug This issue is a bug report

Comments

@GMHDBJD
Copy link
Collaborator

GMHDBJD commented Sep 2, 2020

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.
    DROP TABLE IF NOT EXISTS table_name; while table not exists.
  2. What did you expect to see?
    DM work normally.
  3. What did you see instead?
"errors": [
{
    "ErrCode": 44007,
    "ErrClass": "schema-tracker",
    "ErrScope": "downstream",
    "ErrLevel": "medium",
    "Message": "startLocation: [position: (test-e108ea4b-e2f8-4ed1-8ca3-e84a4af392c4-j3ds7-k4j1b-bin.000008, 11865), gtid-set: e01311c8-ec19-11ea-9bc6-be6e9048b4d1:1-443], endLocation: [position: (test-e108ea4b-e2f8-4ed1-8ca3-e84a4af392c4-j3ds7-k4j1b-bin.000008, 11999), gtid-set: e01311c8-ec19-11ea-9bc6-be6e9048b4d1:1-443]: cannot fetch downstream table schema of `ha_test`.`ta` to initialize upstream schema `ha_test`.`ta` in schema tracker",
    "RawCause": "Error 1146: Table 'ha_test.ta' doesn't exist",
    "Workaround": ""
}
  1. Versions of the cluster

    • DM version (run dmctl -V or dm-worker -V or dm-master -V):

      master
      

This may also happen when replicate drop table statement twice even in safemode. see https://internal.pingcap.net/idc-jenkins/blue/organizations/jenkins/dm_ghpr_test/detail/dm_ghpr_test/6476/pipeline/

@GMHDBJD GMHDBJD added type/bug This issue is a bug report help wanted This issue wanted some help from contributor labels Sep 2, 2020
@GMHDBJD GMHDBJD self-assigned this Sep 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted This issue wanted some help from contributor severity/major type/bug This issue is a bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants