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

*: Using the global singleton for pd client and tikv client, and fix pd client freeze (#1217) #1219

Merged
merged 2 commits into from
Dec 16, 2020

Conversation

ti-srebot
Copy link
Contributor

cherry-pick #1217 to release-4.0


What problem does this PR solve?

Using the global singleton for pd client and tikv client, and fix pd client freeze

What is changed and how it works?

The modification of this PR bypasses the bug about pd client freeze by using a global singleton for pd client

Check List

Tests

  • Unit test
  • Integration test

Release note

  • Fix the bug of possible TiCDC server freeze

@ti-srebot
Copy link
Contributor Author

/run-all-tests

@zier-one
Copy link
Contributor

LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Dec 16, 2020
@zier-one
Copy link
Contributor

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Dec 16, 2020
@zier-one zier-one modified the milestones: v4.0.10, v4.0.9 Dec 16, 2020
@ti-srebot
Copy link
Contributor Author

/run-all-tests

@codecov-io
Copy link

Codecov Report

Merging #1219 (57b9be4) into release-4.0 (03f224c) will increase coverage by 0.0304%.
The diff coverage is 8.3333%.

@@                 Coverage Diff                 @@
##           release-4.0      #1219        +/-   ##
===================================================
+ Coverage      39.6736%   39.7041%   +0.0304%     
===================================================
  Files              112        112                
  Lines            11766      11762         -4     
===================================================
+ Hits              4668       4670         +2     
+ Misses            6625       6621         -4     
+ Partials           473        471         -2     

@ti-srebot ti-srebot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Dec 16, 2020
@amyangfei amyangfei merged commit 3d4366c into pingcap:release-4.0 Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. status/ptal Could you please take a look? type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants