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

ticdc: send boot strap cost too many times leading to stuck the owner #11565

Closed
hongyunyan opened this issue Sep 4, 2024 · 4 comments · Fixed by #11573
Closed

ticdc: send boot strap cost too many times leading to stuck the owner #11565

hongyunyan opened this issue Sep 4, 2024 · 4 comments · Fixed by #11573
Assignees
Labels
affects-7.5 affects-8.1 area/ticdc Issues or PRs related to TiCDC. report/customer Customers have encountered this bug. severity/moderate type/bug The issue is confirmed as a bug.

Comments

@hongyunyan
Copy link
Collaborator

In user scenarios we find the owner is stuck for a long time. And in the logs, we find owner is stuck because too many time costed in send bootstrap messages, which is not excepted.

[2024/08/28 07:03:11.269 +00:00] [INFO] [ddl_manager.go:189] ["send bootstrap messages finished"] [changefeed=default/ingestion-test-4] [cost=3m1.504269564s]

@3AceShowHand
Copy link
Contributor

3AceShowHand commented Sep 4, 2024

"[2024/08/28 07:00:09.766 +00:00] [INFO] [ddl_manager.go:198] [\"start to send bootstrap messages\"] [changefeed=default/ingestion-test-4] [tables=923]",

[2024/08/28 07:03:11.269 +00:00] [INFO] [ddl_manager.go:189] ["send bootstrap messages finished"] [changefeed=default/ingestion-test-4] [cost=3m1.504269564s]

At the moment, bootstrap message is delivered one by one synchronously, it takes around 181 seconds to send 923 message, each one cost around 0.19s

@3AceShowHand
Copy link
Contributor

[2024/09/06 11:36:09.379 +08:00] [INFO] [ddl_manager.go:190] ["start to send bootstrap messages"] [changefeed=default/simple-avro-test-checksum] [tables=100]
[2024/09/06 11:36:09.480 +08:00] [INFO] [ddl_manager.go:181] ["send bootstrap messages finished"] [changefeed=default/simple-avro-test-checksum] [cost=101.495145ms]

According to my local test, send 100 bootstrap message cost 101ms, 1.01ms for each one.

@asddongmen asddongmen added type/bug The issue is confirmed as a bug. severity/moderate affects-8.1 area/ticdc Issues or PRs related to TiCDC. affects-7.5 labels Sep 6, 2024
@3AceShowHand
Copy link
Contributor

[2024/09/06 12:20:57.781 +08:00] [INFO] [ddl_manager.go:190] ["start to send bootstrap messages"] [changefeed=default/simple-avro-test-checksum] [tables=500]
[2024/09/06 12:20:58.538 +08:00] [INFO] [ddl_manager.go:181] ["send bootstrap messages finished"] [changefeed=default/simple-avro-test-checksum] [cost=757.550372ms]

500 tables, 757 ms

@seiya-annie
Copy link

/report customer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.5 affects-8.1 area/ticdc Issues or PRs related to TiCDC. report/customer Customers have encountered this bug. severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
4 participants