Skip to content

Commit

Permalink
system variable: add tidb_allow_fallback_to_tikv (#5484)
Browse files Browse the repository at this point in the history
* add system variable tidb_enable_tiflash_fallback_tikv

* rename system variable

* rename

* Update system-variables.md

Co-authored-by: TomShawn <[email protected]>

* Update system-variables.md

Co-authored-by: Grace Cai <[email protected]>

* Update system-variables.md

Co-authored-by: TomShawn <[email protected]>

* Update system-variables.md

Co-authored-by: TomShawn <[email protected]>

* upd

* upd

Co-authored-by: TomShawn <[email protected]>
Co-authored-by: Grace Cai <[email protected]>
  • Loading branch information
3 people authored Mar 23, 2021
1 parent d21fdcc commit 34f72ea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1135,3 +1135,9 @@ set tidb_slow_log_threshold = 200;
- 作用域:SESSION | GLOBAL
- 默认值:ON
- 这个变量用于控制计算窗口函数时是否采用高精度模式。

### `tidb_allow_fallback_to_tikv` <span class="version-mark">从 v5.0 GA 版本开始引入</span>

- 作用域:SESSION | GLOBAL
- 默认值:""
- 这个变量表示将 TiKV 作为备用存储引擎的存储引擎列表。当该列表中的存储引擎发生故障导致 SQL 语句执行失败时,TiDB 会使用 TiKV 作为存储引擎再次执行该 SQL 语句。目前支持设置该变量为 "" 或者 "tiflash"。如果设置该变量为 "tiflash",当 TiFlash 发生故障导致 SQL 语句执行失败时,TiDB 会使用 TiKV 作为存储引擎再次执行该 SQL 语句。

0 comments on commit 34f72ea

Please sign in to comment.