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

after REORGANIZE PARTITION DDL , ticdc in error and lag increased #8662

Closed
AkiraXie opened this issue Mar 24, 2023 · 4 comments
Closed

after REORGANIZE PARTITION DDL , ticdc in error and lag increased #8662

AkiraXie opened this issue Mar 24, 2023 · 4 comments
Assignees
Labels
affects-6.5 affects-6.6 affects-7.0 area/ticdc Issues or PRs related to TiCDC. severity/major This is a major bug. type/bug This is a bug.

Comments

@AkiraXie
Copy link

AkiraXie commented Mar 24, 2023

What did you do?

  1. open tidb changefeed
  2. ALTER TABLE xxx REORGANIZE PARITITION xxxxx

What did you expect to see?

No response

What did you see instead?

  1. [error="[CDC:ErrChangefeedUnretryable]changefeed is in unretryable state, please check the error message, and you should manually handle it: invalid connection"] [errorVerbose="[CDC:ErrChangefeedUnretryable]changefeed is in unretryable state, please check the error message, and you should manually handle it: invalid connection
    9503172c-8a1a-4255-8df7-ca8f8c83d8af

  2. after resume, changefeed checkpoint cannnot advance
    image

  3. after rolling restart ticdc , checkpoint cannnot advance yet , and ticdc in error due to DDL not reentrant

[2023/03/24 12:11:19.500 +08:00] [WARN] [mysql_ddl_sink.go:126] ["Execute DDL with error, retry later"] [startTs=440288719245410374] [ddl="ALTER TABLE `partition360`.`partition360_6` 

REORGANIZE PARTITION `p20210516`,`p20210517` INTO (PARTITION `p20210517` VALUES LESS THAN (_UTF8MB4'20210518'))"] [namespace=] 

[changefeed=] [error="Error 1567 (HY000): Incorrect partition name"]

Versions of the cluster

Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):

(paste TiKV version here)

TiCDC version (execute cdc version):

(paste TiCDC version here)

sh-5.1# /cdc version
Release Version: v7.0.0
Git Commit Hash: d5fd440
Git Branch: heads/refs/tags/v7.0.0
UTC Build Time: 2023-03-22 10:48:06
Go Version: go version go1.20.2 linux/amd64
Failpoint Build: false

@AkiraXie AkiraXie added area/ticdc Issues or PRs related to TiCDC. type/bug This is a bug. labels Mar 24, 2023
@github-actions github-actions bot added this to Need Triage in Question and Bug Reports Mar 24, 2023
@AkiraXie
Copy link
Author

/severity major

@hicqu
Copy link
Contributor

hicqu commented Mar 24, 2023

Owner keeps printing this:

[2023/03/23 22:54:06.845 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:06.896 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:06.946 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:06.996 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.046 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.095 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.145 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.196 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.245 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.296 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.346 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.396 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.446 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.495 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.545 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.595 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.645 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.695 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.745 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.796 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.845 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681] [2023/03/23 22:54:07.895 +08:00] [WARN] [replication_manager.go:548] ["schedulerv3: cannot advance checkpoint since missing span"] [namespace=default] [changefeed=cdc-test-01] [t
ableSpanFound=false] [tableSpanStartFound=false] [tableSpanEndFound=false] [tableHasHole=false] [tableID=3681]

@nongfushanquan
Copy link
Contributor

/assign @hicqu

@hicqu
Copy link
Contributor

hicqu commented Mar 28, 2023

Closed as duplicated with #8668 .

@hicqu hicqu closed this as completed Mar 28, 2023
Question and Bug Reports automation moved this from Need Triage to Done Mar 28, 2023
3AceShowHand pushed a commit to 3AceShowHand/tiflow that referenced this issue Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 affects-6.6 affects-7.0 area/ticdc Issues or PRs related to TiCDC. severity/major This is a major bug. type/bug This is a bug.
Development

No branches or pull requests

5 participants