Skip to content

Commit

Permalink
system-variables: add global scope to tidb_replica_read (#10638) (#10929
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ti-chi-bot authored Aug 16, 2022
1 parent 14c8b62 commit d44cbbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@ SET tidb_query_log_max_len = 20;
### `tidb_replica_read` <span class="version-mark">从 v4.0 版本开始引入</span>
- 作用域:SESSION
- 作用域:SESSION | GLOBAL
- 默认值:`leader`
- 可选值:`leader``follower``leader-and-follower`
- 这个变量用于控制 TiDB 读取数据的位置,有以下三个选择:
Expand Down

0 comments on commit d44cbbe

Please sign in to comment.