Skip to content

Conversation

@ti-srebot
Copy link
Collaborator

@ti-srebot ti-srebot commented Dec 9, 2021

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

# In client-java repo:
git pr https://github.com/tikv/client-java/pull/374

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

git push git@github.com:ti-srebot/client-java.git pr/374:release-3.1-e2f10aa2ab45

What problem does this PR solve?

TiKV client currently assumes that TiFlash is deployed and starts a threadpool to periodically check tiflash replica status
#350

What is changed and how it works?

Added a boolean flag to determine if tiflash is enabled . The default value is false.

Check List

Tests

  • Unit test

Code changes

  • Has exported function/method change

Side effects

  • Increased code complexity

Related changes

  • Need to update the documentation

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Collaborator Author

/run-all-tests

Copy link
Collaborator

@birdstorm birdstorm left a comment

Choose a reason for hiding this comment

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

please resolve conflicts

@zz-jason zz-jason changed the title Add a flag to determine if TiFlash is enabled (#351) [close #350] add a flag to determine if TiFlash is enabled (#351) Dec 9, 2021
Signed-off-by: Jian Zhang <zjsariel@gmail.com>
@zz-jason
Copy link
Member

zz-jason commented Dec 9, 2021

@birdstorm PTAL again, thanks.

Copy link
Collaborator

@marsishandsome marsishandsome left a comment

Choose a reason for hiding this comment

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

This PR is not necessary to cherry-pick to to 3.1/

@zz-jason zz-jason closed this Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants