Skip to content

Commit

Permalink
set tiflash pipeline model to true by default
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaRise committed Jul 24, 2023
1 parent f6be155 commit 0a83d3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sessionctx/variable/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ type SessionVars struct {
TiFlashMaxBytesBeforeExternalSort int64

// TiFlashEnablePipelineMode means if we should use pipeline model to execute query or not in tiflash.
// Default value is `false`, means never use pipeline model in tiflash.
// Default value is `true`, means never use pipeline model in tiflash.
// Value set to `true` means try to execute query with pipeline model in tiflash.
TiFlashEnablePipelineMode bool

Expand Down
4 changes: 2 additions & 2 deletions sessionctx/variable/tidb_vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ const (
TiDBMaxBytesBeforeTiFlashExternalSort = "tidb_max_bytes_before_tiflash_external_sort"

// TiDBEnableTiFlashPipelineMode means if we should use pipeline model to execute query or not in tiflash.
// Default value is `false`, means never use pipeline model in tiflash.
// Default value is `true`, means never use pipeline model in tiflash.
// Value set to `true` means try to execute query with pipeline model in tiflash.
TiDBEnableTiFlashPipelineMode = "tidb_enable_tiflash_pipeline_model"

Expand Down Expand Up @@ -1164,7 +1164,7 @@ const (
DefTiFlashMaxBytesBeforeExternalJoin = -1
DefTiFlashMaxBytesBeforeExternalGroupBy = -1
DefTiFlashMaxBytesBeforeExternalSort = -1
DefTiDBEnableTiFlashPipelineMode = false
DefTiDBEnableTiFlashPipelineMode = true
DefTiDBMPPStoreFailTTL = "60s"
DefTiDBTxnMode = ""
DefTiDBRowFormatV1 = 1
Expand Down

0 comments on commit 0a83d3c

Please sign in to comment.