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

Querying status via openapi may be blocked when pd fails #4778

Closed
CharlesCheung96 opened this issue Mar 4, 2022 · 1 comment · Fixed by #4788
Closed

Querying status via openapi may be blocked when pd fails #4778

CharlesCheung96 opened this issue Mar 4, 2022 · 1 comment · Fixed by #4788
Labels
affects-4.0 affects-5.0 affects-5.1 affects-5.2 affects-5.3 affects-5.4 This bug affects the 5.4.x(LTS) versions. area/ticdc Issues or PRs related to TiCDC. severity/minor type/bug The issue is confirmed as a bug.

Comments

@CharlesCheung96
Copy link
Contributor

CharlesCheung96 commented Mar 4, 2022

What did you do?

When network isolation occurs between pd nodes and cdc nodes, run curl -X GET http://127.0.0.1:8300/status, and the terminal is stuck.

What did you expect to see?

> curl -X GET http://127.0.0.1:8300/status                                                                          
{
 "version": "v5.4.0",
 "git_hash": "14db59be99371a0ef996708fa2867e73b2d7b8af",
 "id": "12f02f4c-59c2-4e73-8f9c-9db516fad91c",
 "pid": 8156,
 "is_owner": true
}

What did you see instead?

There is no return message from the terminal

Versions of the cluster

TiCDC version (execute cdc version):

v5.4.0
14db59be99371a0ef996708fa2867e73b2d7b8af
@amyangfei
Copy link
Contributor

Please confirm the affected versions @CharlesCheung96

CharlesCheung96 added a commit to ti-chi-bot/tiflow that referenced this issue Apr 14, 2022
CharlesCheung96 added a commit to ti-chi-bot/tiflow that referenced this issue Apr 14, 2022
CharlesCheung96 added a commit to ti-chi-bot/tiflow that referenced this issue Apr 14, 2022
CharlesCheung96 added a commit to ti-chi-bot/tiflow that referenced this issue Apr 14, 2022
CharlesCheung96 added a commit to ti-chi-bot/tiflow that referenced this issue Apr 22, 2022
CharlesCheung96 added a commit to ti-chi-bot/tiflow that referenced this issue Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.0 affects-5.0 affects-5.1 affects-5.2 affects-5.3 affects-5.4 This bug affects the 5.4.x(LTS) versions. area/ticdc Issues or PRs related to TiCDC. severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants