Skip to content

store/tikv: move batch client code to file client_batch.go#11108

Merged
hicqu merged 6 commits intopingcap:masterfrom
tiancaiamao:move-batch-code
Jul 10, 2019
Merged

store/tikv: move batch client code to file client_batch.go#11108
hicqu merged 6 commits intopingcap:masterfrom
tiancaiamao:move-batch-code

Conversation

@tiancaiamao
Copy link
Contributor

What problem does this PR solve?

Split file store/tikv/client.go
The batch client is complex enough, so I want to create a new file for it.

What is changed and how it works?

Move batch client related code to a separate file, no logic change.

Check List

Tests

  • No code

@tiancaiamao tiancaiamao added type/enhancement The issue or PR belongs to an enhancement. status/WIP labels Jul 5, 2019
@tiancaiamao
Copy link
Contributor Author

/run-all-tests

@jackysp
Copy link
Contributor

jackysp commented Jul 7, 2019

Good job!

@codecov
Copy link

codecov bot commented Jul 9, 2019

Codecov Report

Merging #11108 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #11108   +/-   ##
===========================================
  Coverage   81.0184%   81.0184%           
===========================================
  Files           423        423           
  Lines         90293      90293           
===========================================
  Hits          73154      73154           
  Misses        11842      11842           
  Partials       5297       5297

@imtbkcat
Copy link

imtbkcat commented Jul 9, 2019

/run-all-tests

@tiancaiamao
Copy link
Contributor Author

The tidb-test is still unstable...

@tiancaiamao
Copy link
Contributor Author

PTAL @hicqu @lysu

@hicqu hicqu added the status/LGT1 Indicates that a PR has LGTM 1. label Jul 10, 2019
@hicqu
Copy link
Contributor

hicqu commented Jul 10, 2019

PTAL @lysu

@lysu lysu added needs-cherry-pick-3.0 status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jul 10, 2019
Copy link
Contributor

@lysu lysu left a comment

Choose a reason for hiding this comment

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

LGTM, @tiancaiamao maybe we should cherry-pick it to 3.0?

@hicqu hicqu merged commit c101c80 into pingcap:master Jul 10, 2019
@tiancaiamao tiancaiamao deleted the move-batch-code branch July 10, 2019 06:06
tiancaiamao added a commit to tiancaiamao/tidb that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/tikv status/LGT2 Indicates that a PR has LGTM 2. type/enhancement The issue or PR belongs to an enhancement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants