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

Support load-based replica read #41664

Closed
sticnarf opened this issue Feb 22, 2023 · 0 comments · Fixed by #40742
Closed

Support load-based replica read #41664

sticnarf opened this issue Feb 22, 2023 · 0 comments · Fixed by #40742
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@sticnarf
Copy link
Contributor

Enhancement

See tikv/rfcs#105 for the TiKV design doc.

To support this feature in TiDB, add a session and global sysvar tidb_load_based_replica_read_threshold.

If the estimated waiting duration at TiKV exceeds the threshold, replica read is automatically enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant