[TiDB] Add new mode option prefer-leader for tidb_replica_read.#12865
[TiDB] Add new mode option prefer-leader for tidb_replica_read.#12865ti-chi-bot merged 4 commits intopingcap:masterfrom
prefer-leader for tidb_replica_read.#12865Conversation
Signed-off-by: Lucasliang <nkcs_lykx@hotmail.com>
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
prefer-leader for tidb_replica_read.prefer-leader for tidb_replica_read.
Signed-off-by: Lucasliang <nkcs_lykx@hotmail.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
|
@TomShawn As all related PRs merged, this pr can be merged now. |
|
This PR needs approval by @easonn7. |
|
/remove-status LGT1 |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 78bd607 |
Signed-off-by: Lucasliang nkcs_lykx@hotmail.com
First-time contributors' checklist
What is changed, added or deleted? (Required)
Add a new mode
prefer-leaderfor the system variabletidb_replica_read.Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
prefer-leaderforreplica_read_mode. docs#12337Do your changes match any of the following descriptions?