Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

lightning/backend: run batch split region in parallel for local backend (#761) #868

Merged
merged 3 commits into from
Mar 18, 2021

Conversation

ti-srebot
Copy link
Contributor

@ti-srebot ti-srebot commented Mar 13, 2021

cherry-pick #761 to release-4.0
You can switch your code base to this Pull Request by using git-extras:

# In br repo:
git pr https://github.com/pingcap/br/pull/868

After apply modifications, you can push your change to this PR via:

git push [email protected]:ti-srebot/br.git pr/868:release-4.0-09e9943d7425

What problem does this PR solve?

Run batch split region in parallel to speed up batch split region.

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Code changes

Side effects

  • Possible performance regression
  • Increased code complexity

Related changes

  • Need to cherry-pick to the release branch

Release Note

  • Run batch split regions in parallel for lightning local backend

s.doTestBatchSplitRegionByRanges(c, context.Background(), &splitRegionEpochNotMatchHook{}, "batch split regions failed: epoch not match.*")
}
<<<<<<< HEAD
=======
Copy link
Collaborator

Choose a reason for hiding this comment

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

Merge conflict

@kennytm
Copy link
Collaborator

kennytm commented Mar 15, 2021

/lgtm

@ti-srebot ti-srebot added the status/LGT1 LGTM1 label Mar 15, 2021
@overvenus
Copy link
Member

/lgtm

@ti-srebot ti-srebot added status/LGT2 LGTM2 and removed status/LGT1 LGTM1 labels Mar 16, 2021
@kennytm
Copy link
Collaborator

kennytm commented Mar 18, 2021

/merge

@ti-srebot
Copy link
Contributor Author

/run-all-tests

@ti-srebot ti-srebot merged commit 8bc293a into pingcap:release-4.0 Mar 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants