-
Notifications
You must be signed in to change notification settings - Fork 287
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
dm-worker hangs after running dm tasks with fast/full validators #7241
Comments
dm-worker logs |
When enter tiflow/dm/syncer/validate_worker.go Lines 167 to 171 in 1961b63
DataValidator.stopInner , reading from error channel is blocked at tiflow/dm/syncer/data_validator.go Lines 456 to 459 in 1961b63
And when this deadlock is caused by user action, it will further block DM-worker's so query-status can't be responsed. |
And I remember uber's code guide channel size is 0 or 1. If we follow it this bug will be easier to be exposed |
/severity Major |
/found automation |
What did you do?
What did you expect to see?
dm-worker should not hang, dmctl query-status should run success
What did you see instead?
dm-worker hangs, dmctl query-status return context deadline exceeded error
Versions of the cluster
master
current status of DM cluster (execute
query-status <task-name>
in dmctl)The text was updated successfully, but these errors were encountered: