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

system variable: add tidb_allow_fallback_to_tikv #5484

Merged
merged 13 commits into from
Mar 23, 2021
6 changes: 6 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1119,3 +1119,9 @@ set tidb_slow_log_threshold = 200;
- 作用域:SESSION | GLOBAL
- 默认值:ON
- 这个变量用于控制计算窗口函数时是否采用高精度模式。

### `tidb_allow_fallback_to_tikv` <span class="version-mark">从 v5.0 GA 版本开始引入</span>
xuyifangreeneyes marked this conversation as resolved.
Show resolved Hide resolved

- 作用域:SESSION | GLOBAL
- 默认值:""
- 这个变量用于指定一个存储引擎。当该变量指定的存储引擎发生故障导致 SQL 语句执行失败时,TiDB 会尝试使用 TiKV 再次执行该 SQL 语句。目前支持设置该变量为 "" 或者 "tiflash"。如果设置该变量为 "tiflash" ,当TiFlash 发生故障导致 SQL 语句执行失败时,TiDB 会尝试使用 TiKV 再次执行该 SQL 语句。
xuyifangreeneyes marked this conversation as resolved.
Show resolved Hide resolved