Skip to content

Commit

Permalink
sessionctx: set tiflash pipeline model to true by default (#45516)
Browse files Browse the repository at this point in the history
close #45618
  • Loading branch information
SeaRise committed Aug 1, 2023
1 parent e5e507a commit 2d23240
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 @@ -885,7 +885,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 @@ -411,7 +411,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 @@ -1170,7 +1170,7 @@ const (
DefTiFlashMaxBytesBeforeExternalJoin = -1
DefTiFlashMaxBytesBeforeExternalGroupBy = -1
DefTiFlashMaxBytesBeforeExternalSort = -1
DefTiDBEnableTiFlashPipelineMode = false
DefTiDBEnableTiFlashPipelineMode = true
DefTiDBMPPStoreFailTTL = "60s"
DefTiDBTxnMode = ""
DefTiDBRowFormatV1 = 1
Expand Down

0 comments on commit 2d23240

Please sign in to comment.