Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@nolouch
Copy link
Contributor

@nolouch nolouch commented Apr 22, 2020

Signed-off-by: nolouch [email protected]

What problem does this PR solve?

there are many HTTP clients in PD. It's not easy to maintain, we want to supports TLS if the server is configured.

What is changed and how it works?

  • init HTTP client in server
  • replace middleware client
  • replace cluster client
  • replace server/api client

Release note

no need to write

Check List

Tests

  • Unit test

@nolouch nolouch added the component/api HTTP API. label Apr 22, 2020
@nolouch nolouch added this to the v4.0.0-rc.2 milestone Apr 22, 2020
@nolouch nolouch requested review from HunDunDM and rleungx April 22, 2020 08:12
Copy link
Member

@HunDunDM HunDunDM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rest LGTM

Copy link
Member

@HunDunDM HunDunDM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nolouch
Copy link
Contributor Author

nolouch commented Apr 22, 2020

/merge

@sre-bot sre-bot added the status/can-merge Indicates a PR has been approved by a committer. label Apr 22, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Apr 22, 2020

/run-all-tests

@sre-bot sre-bot merged commit eb9e209 into tikv:master Apr 22, 2020
@nolouch nolouch deleted the unify-http-client branch April 22, 2020 14:19
@nolouch nolouch added the needs-cherry-pick-release-3.1 The PR needs to cherry pick to release-3.1 branch. label Apr 23, 2020
@nolouch
Copy link
Contributor Author

nolouch commented Apr 23, 2020

/run-cherry-picker

@sre-bot
Copy link
Contributor

sre-bot commented Apr 23, 2020

cherry pick to release-3.1 failed

nolouch added a commit to nolouch/pd that referenced this pull request Apr 24, 2020
rleungx pushed a commit to nolouch/pd that referenced this pull request Apr 26, 2020
sre-bot pushed a commit that referenced this pull request Apr 26, 2020
Signed-off-by: nolouch <[email protected]>
Signed-off-by: Ryan Leung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/api HTTP API. needs-cherry-pick-release-3.1 The PR needs to cherry pick to release-3.1 branch. status/can-merge Indicates a PR has been approved by a committer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants