-
Notifications
You must be signed in to change notification settings - Fork 728
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
client: check the timeout for creating stream #2616
Conversation
Signed-off-by: Ryan Leung <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can add some test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
Sorry @nolouch, you don't have permission to trigger auto merge event on this branch. The number of |
LGTM |
@lhy1024,Thanks for your review. |
/merge |
Sorry @lhy1024, you don't have permission to trigger auto merge event on this branch. The number of |
/merge |
/run-all-tests |
/merge |
/run-all-tests |
@rleungx merge failed. |
/merge |
/run-all-tests |
@rleungx merge failed. |
/merge |
/run-all-tests |
@rleungx Did you send PR to update TiDB dependency? |
/run-cherry-picker |
cherry pick to release-4.0 failed |
I will update it. |
cherry pick to release-3.1 failed |
cherry pick to release-3.0 failed |
1 similar comment
cherry pick to release-3.0 failed |
cherry pick to release-3.1 failed |
cherry pick to release-4.0 failed |
Signed-off-by: Ryan Leung <[email protected]>
Signed-off-by: Ryan Leung <[email protected]>
What problem does this PR solve?
Closes #2642.
What is changed and how it works?
This PR uses an extra goroutine to check if creating stream causes too much time and will call
cancel
once it reaches the timeout setting of the client.Check List
Tests
Release note