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

change tidb_rc_read_check_ts to instance level #37802

Closed
TonsnakeLin opened this issue Sep 14, 2022 · 0 comments · Fixed by #37803
Closed

change tidb_rc_read_check_ts to instance level #37802

TonsnakeLin opened this issue Sep 14, 2022 · 0 comments · Fixed by #37803
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@TonsnakeLin
Copy link
Contributor

Enhancement

System variable tidb_rc_read_check_ts makes the read statements don't get timestamp from PD at RC isolation, which improves TiDB performance. #32922
But we meet a new scenario in core bank service. Some service needs to run when tidb_rc_read_check_ts is on, some service needs to run when tidb_rc_read_check_ts is off. So, we should change system variable from GLOBAL/SESSION to INSTANCE.
Some TiDB instances should run when when tidb_rc_read_check_ts is on. You should add it to the configure file of of this tidb, as below.
[instance]
tidb_rc_read_check_ts = true
Other TiDB instances should do nothing about tidb_rc_read_check_ts in the configure file.

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