-
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
sink/mysql: add db read/write timeout #936
Conversation
/run-integration-tests |
/run-integration-tests tidb=release-4.0 tikv=release-4.0 pd=release-4.0 |
3 similar comments
/run-integration-tests tidb=release-4.0 tikv=release-4.0 pd=release-4.0 |
/run-integration-tests tidb=release-4.0 tikv=release-4.0 pd=release-4.0 |
/run-integration-tests tidb=release-4.0 tikv=release-4.0 pd=release-4.0 |
Codecov Report
@@ Coverage Diff @@
## master #936 +/- ##
===========================================
Coverage 33.4477% 33.4477%
===========================================
Files 100 100
Lines 11941 11941
===========================================
Hits 3994 3994
Misses 7558 7558
Partials 389 389 |
/run-integration-tests tidb=release-4.0 tikv=release-4.0 pd=release-4.0 |
1 similar comment
/run-integration-tests tidb=release-4.0 tikv=release-4.0 pd=release-4.0 |
/lgtm |
/run-integration-tests tidb=release-4.0 tikv=release-4.0 pd=release-4.0 |
/run-integration-tests tidb=release-4.0 tikv=release-4.0 pd=release-4.0 |
/run-integration-tests tidb=release-4.0 tikv=release-4.0 pd=release-4.0 |
1 similar comment
/run-integration-tests tidb=release-4.0 tikv=release-4.0 pd=release-4.0 |
/run-integration-tests tidb=release-4.0 tikv=release-4.0 pd=release-4.0 |
1 similar comment
/run-integration-tests tidb=release-4.0 tikv=release-4.0 pd=release-4.0 |
What problem does this PR solve?
Add db read/write timeout in order to prevent database connection block by IO/timeout
What is changed and how it works?
Add
readTimeout
andwriteTimeout
to dsn stringCheck List
Tests
Release note