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

session: support leader-and-follower for tidb_replica_read (#14761) #15721

Merged
merged 1 commit into from
Mar 26, 2020

Conversation

hicqu
Copy link
Contributor

@hicqu hicqu commented Mar 26, 2020

Signed-off-by: qupeng qupeng@pingcap.com

What problem does this PR solve?

Cherry pick #14761 to support set tidb_replica_read = leader-and-follower in release-3.1.

What is changed and how it works?

Add a new session variable.

Related changes

Check List

Tests

  • Unit test

Release note

Support leader-and-follower for tidb_replica_read.

@hicqu hicqu requested review from lysu and lzmhhh123 March 26, 2020 07:20
Copy link
Contributor

@lzmhhh123 lzmhhh123 left a comment

Choose a reason for hiding this comment

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

LGTM

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

@lysu lysu added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Mar 26, 2020
@zz-jason zz-jason added the status/can-merge Indicates a PR has been approved by a committer. label Mar 26, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Mar 26, 2020

/run-all-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/session status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. type/3.1-cherry-pick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants