Skip to content

Commit

Permalink
sys-var: add 2 for mpp_version (pingcap#19351)
Browse files Browse the repository at this point in the history
  • Loading branch information
yibin87 authored Nov 7, 2024
1 parent ac830b4 commit 408e968
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -689,11 +689,12 @@ This variable is an alias for [`last_insert_id`](#last_insert_id).
- Persists to cluster: Yes
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): Yes
- Default value: `UNSPECIFIED`
- Value options: `UNSPECIFIED`, `0`, `1`
- Value options: `UNSPECIFIED`, `0`, `1`, `2`
- This variable is used to specify different versions of the MPP execution plan. After a version is specified, TiDB selects the specified version of the MPP execution plan. The meanings of the variable values are as follows:
- `UNSPECIFIED`: means unspecified. TiDB automatically selects the latest version `1`.
- `UNSPECIFIED`: means unspecified. TiDB automatically selects the latest version `2`.
- `0`: compatible with all TiDB cluster versions. Features with the MPP version greater than `0` do not take effect in this mode.
- `1`: new in v6.6.0, used to enable data exchange with compression on TiFlash. For details, see [MPP version and exchange data compression](/explain-mpp.md#mpp-version-and-exchange-data-compression).
- `2`: new in v7.3.0, used to provide more accurate error messages when MPP tasks encounter errors on TiFlash.

### password_reuse_interval <span class="version-mark">New in v6.5.0</span>

Expand Down

0 comments on commit 408e968

Please sign in to comment.