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

dynamic config: add version info #9650

Merged
merged 1 commit into from
Jun 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dynamic-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ select @@tidb_slow_log_threshold;

在线修改 TiFlash 配置,你也可以通过修改[系统变量](/system-variables.md)来实现。

下面例子展示了如何通过设置系统变量 [`tidb_max_tiflash_threads`](/system-variables.md#tidb_max_tiflash_threads) 的值在线修改配置项 `max_threads`。
下面例子展示了如何通过设置系统变量 [`tidb_max_tiflash_threads`](/system-variables.md#tidb_max_tiflash_threads-从-v610-版本开始引入) 的值在线修改配置项 `max_threads`。

`max_threads` 默认值是 -1,表示此系统变量无效,由 TiFlash 的配置文件决定 max_threads。你可以通过设置系统变量 `tidb_max_tiflash_threads` 将其修改为 10:

Expand Down
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1690,7 +1690,7 @@ Query OK, 0 rows affected, 1 warning (0.00 sec)
set tidb_slow_log_threshold = 200;
```

### `tidb_max_tiflash_threads`
### `tidb_max_tiflash_threads` <span class="version-mark">从 v6.1.0 版本开始引入</span>

- 作用域:SESSION | GLOBAL
- 是否持久化到集群:是
Expand Down