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

block-allow-list doesn't skip blocked tables from online DDL #1776

Closed
lance6716 opened this issue Jun 15, 2021 · 0 comments · Fixed by #1775
Closed

block-allow-list doesn't skip blocked tables from online DDL #1776

lance6716 opened this issue Jun 15, 2021 · 0 comments · Fixed by #1775
Labels
affected-v2.0.2 this issue/BUG affects v2.0.2 affected-v2.0.3 this issue/BUG affects v2.0.3 affected-v2.0.4 this issue/BUG affects v2.0.4 severity/minor type/bug This issue is a bug report

Comments

@lance6716
Copy link
Collaborator

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.

If user starts a DM task with online-ddl-scheme config, and the starting position can't fully see online DDLs of a tables. Though the table maybe blocked by blokc-allow-lists, DM will raise an error

see #1775

  1. What did you expect to see?

no error because the table is blocked

  1. What did you see instead?

"Message": "startLocation: [position: (mysql-bin.000001, 2257), gtid-set: 09bec856-ba95-11ea-850a-58f2b4af5188:1-8], endLocation: [position: (mysql-bin.000001, 2435), gtid-set: 09bec856-ba95-11ea-850a-58f2b4af5188:1-9], origin SQL: [rename table online_ddl.ignore to online_ddl._ignore_del, online_ddl._ignore_gho to online_ddl.ignore]: online ddl metadata for ghost temporary table online_ddl._ignore_gho not found"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affected-v2.0.2 this issue/BUG affects v2.0.2 affected-v2.0.3 this issue/BUG affects v2.0.3 affected-v2.0.4 this issue/BUG affects v2.0.4 severity/minor type/bug This issue is a bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant