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

adding index was stuck on ticdc changefeed downstream #51445

Closed
Lily2025 opened this issue Mar 1, 2024 · 3 comments · Fixed by #51457
Closed

adding index was stuck on ticdc changefeed downstream #51445

Lily2025 opened this issue Mar 1, 2024 · 3 comments · Fixed by #51457
Assignees
Labels
affects-7.5 component/ddl This issue is related to DDL of TiDB. severity/critical type/bug The issue is confirmed as a bug.

Comments

@Lily2025
Copy link

Lily2025 commented Mar 1, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

1、restore data for primary and secondary
2、create changefeed and set bdr role for primary and secondary
3、run sysbench on primary and secondary
4、drop index after add index finished on primary

tidb logs:
tidb-1.tar.gz

2. What did you expect to see? (Required)

add index can success both on upstream and downstream

3. What did you see instead (Required)

adding index was stuck on ticdc changefeed downstream
img_v3_028i_1c9d51f4-2328-4e0d-b53a-a1508ba3ec3g

tidb was always printing this log:
[2024/03/01 11:54:59.208 +08:00] [INFO] [reorg.go:264] ["run reorg job wait timeout"] [category=ddl] ["wait time"=5s] ["total added row count"=0]

4. What is your TiDB version? (Required)

./tidb-server -V
Release Version: v8.0.0-alpha
Edition: Community
Git Commit Hash: dc1c410
Git Branch: heads/refs/tags/v8.0.0-alpha
UTC Build Time: 2024-02-27 11:47:45
GoVersion: go1.21.6
Race Enabled: false
Check Table Before Drop: false
Store: unistore

@Lily2025 Lily2025 added the type/bug The issue is confirmed as a bug. label Mar 1, 2024
@Lily2025 Lily2025 changed the title add index was add index was stuck on ticdc changefeed downstream Mar 1, 2024
@Lily2025 Lily2025 changed the title add index was stuck on ticdc changefeed downstream adding index was stuck on ticdc changefeed downstream Mar 1, 2024
@Lily2025
Copy link
Author

Lily2025 commented Mar 1, 2024

/assign tangenta

@Lily2025
Copy link
Author

Lily2025 commented Mar 1, 2024

/severity critical

@okJiang
Copy link
Member

okJiang commented Mar 1, 2024

hostname has been truncated.

img_v3_028i_ac161b3a-9472-425d-8c47-76ce77917bbg
img_v3_028i_d2c5234b-31c8-45ef-aeb5-6281d89ed94g
img_v3_028i_02230f86-51a6-4d92-8956-17a742dd08fg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.5 component/ddl This issue is related to DDL of TiDB. severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants