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

store/tikv: move EtcdBackend out #22676

Merged
merged 5 commits into from
Feb 3, 2021
Merged

store/tikv: move EtcdBackend out #22676

merged 5 commits into from
Feb 3, 2021

Conversation

disksing
Copy link
Contributor

@disksing disksing commented Feb 2, 2021

Signed-off-by: disksing i@disksing.com

What problem does this PR solve?

EtcdBackend interface is not used by store/tikv, so move it out.

Part of #22513

Check List

Tests

  • Unit test

Release note

  • No release note

Signed-off-by: disksing <i@disksing.com>
@disksing disksing requested a review from a team as a code owner February 2, 2021 10:44
@disksing disksing requested review from lzmhhh123 and removed request for a team February 2, 2021 10:44
@disksing disksing marked this pull request as draft February 2, 2021 10:52
@github-actions github-actions bot added sig/execution SIG execution sig/sql-infra SIG: SQL Infra labels Feb 2, 2021
@disksing
Copy link
Contributor Author

disksing commented Feb 2, 2021

/run-all-tests

@disksing disksing marked this pull request as ready for review February 3, 2021 00:32
@disksing
Copy link
Contributor Author

disksing commented Feb 3, 2021

/run-all-tests

@ti-srebot
Copy link
Contributor

@youjiali1995, Thanks for your review. The bot only counts LGTMs from Reviewers and higher roles, but you're still welcome to leave your comments. See the corresponding SIG page for more information. Related SIGs: execution(slack),sql-infra(slack).

@AndreMouche AndreMouche added the sig/transaction SIG:Transaction label Feb 3, 2021
Copy link
Contributor

@AndreMouche AndreMouche left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Feb 3, 2021
@ti-srebot ti-srebot removed the status/LGT1 Indicates that a PR has LGTM 1. label Feb 3, 2021
@ti-srebot ti-srebot added the status/LGT2 Indicates that a PR has LGTM 2. label Feb 3, 2021
@youjiali1995
Copy link
Contributor

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Feb 3, 2021
@ti-srebot
Copy link
Contributor

/run-all-tests

@ti-srebot ti-srebot merged commit 7a275a7 into pingcap:master Feb 3, 2021
type EtcdBackend interface {
EtcdAddrs() ([]string, error)
TLSConfig() *tls.Config
StartGCWorker() error
Copy link
Contributor

Choose a reason for hiding this comment

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

Why StartGCWorker is part of EtcdBackend?

@disksing disksing deleted the etcd-backend branch February 4, 2021 04:23
ichn-hu added a commit to ichn-hu/tidb that referenced this pull request Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/store sig/execution SIG execution sig/sql-infra SIG: SQL Infra sig/transaction SIG:Transaction status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants