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

Support for MySQL MAX_EXECUTION_TIME as query timeout method #14460

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions go/vt/sqlparser/comments.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"fmt"
"strconv"
"strings"
"time"
"unicode"

vtrpcpb "vitess.io/vitess/go/vt/proto/vtrpc"
Expand Down Expand Up @@ -63,7 +64,12 @@ const (
// between zero and MaxPriorityValue.
MaxPriorityValue = 100

// OptimizerHintMaxExecutionTime is the optimizer hint used in MySQL to set the max execution time for a query.
// https://dev.mysql.com/doc/refman/8.0/en/optimizer-hints.html#optimizer-hints-execution-time
OptimizerHintMaxExecutionTime = "MAX_EXECUTION_TIME"

// OptimizerHintSetVar is the optimizer hint used in MySQL to set the value of a specific session variable for a query.
// https://dev.mysql.com/doc/refman/8.0/en/optimizer-hints.html#optimizer-hints-set-var
OptimizerHintSetVar = "SET_VAR"
)

Expand Down Expand Up @@ -318,15 +324,29 @@ func (c *ParsedComments) GetMySQLSetVarValue(key string) string {
return ""
}

// SetMySQLMaxExecutionTimeValue sets the maximum execution time for a query using a /*+ MAX_EXECUTION_TIME() */ MySQL optimizer hint.
func (c *ParsedComments) SetMySQLMaxExecutionTimeValue(maxExecutionTime time.Duration) (newComments Comments) {
return setMySQLOptimizerHint(c.comments, OptimizerHintMaxExecutionTime, "" /* no key */, maxExecutionTime.Milliseconds())
}

// SetMySQLSetVarValue updates or sets the value of the given variable as part of a /*+ SET_VAR() */ MySQL optimizer hint.
func (c *ParsedComments) SetMySQLSetVarValue(key string, value string) (newComments Comments) {
if c == nil {
return setMySQLOptimizerHint(c.comments, OptimizerHintSetVar, key, value)
}

// setMySQLOptimizerHint updates or sets the value of a MySQL optimizer hint.
func setMySQLOptimizerHint(comments Comments, hint, key string, value interface{}) (newComments Comments) {
keyAndValue := value
if key != "" {
keyAndValue = fmt.Sprintf("%v=%v", key, value)
}
if len(comments) == 0 {
// If we have no parsed comments, then we create a new one with the required optimizer hint and return it.
newComments = append(newComments, fmt.Sprintf("/*+ %v(%v=%v) */", OptimizerHintSetVar, key, value))
newComments = append(newComments, fmt.Sprintf("/*+ %v(%v) */", hint, keyAndValue))
return
}
seenFirstOhComment := false
for _, commentStr := range c.comments {
for _, commentStr := range comments {
// Skip all the comments that don't start with the query optimizer prefix.
// Also, since MySQL only parses the first comment that has the optimizer hint prefix and ignores the following ones,
// we skip over all the comments that come after we have seen the first comment with the optimizer hint.
Expand Down Expand Up @@ -372,10 +392,10 @@ func (c *ParsedComments) SetMySQLSetVarValue(key string, value string) (newComme
finalComment += fmt.Sprintf(" %v(%v)", ohName, ohContent)
}
}
// If we haven't found any SET_VAR optimizer hint with the matching variable,
// If we haven't found any optimizer hint with the matching variable,
// then we add a new optimizer hint to introduce this variable.
if !keyPresent {
finalComment += fmt.Sprintf(" %v(%v=%v)", OptimizerHintSetVar, key, value)
finalComment += fmt.Sprintf(" %v(%v)", hint, keyAndValue)
}

finalComment += " */"
Expand All @@ -384,7 +404,7 @@ func (c *ParsedComments) SetMySQLSetVarValue(key string, value string) (newComme
// If we have not seen even a single comment that has the optimizer hint prefix,
// then we add a new optimizer hint to introduce this variable.
if !seenFirstOhComment {
newComments = append(newComments, fmt.Sprintf("/*+ %v(%v=%v) */", OptimizerHintSetVar, key, value))
newComments = append(newComments, fmt.Sprintf("/*+ %v(%v) */", hint, keyAndValue))
}
return newComments
}
Expand Down
32 changes: 32 additions & 0 deletions go/vt/sqlparser/comments_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package sqlparser
import (
"fmt"
"testing"
"time"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down Expand Up @@ -600,6 +601,37 @@ func TestGetMySQLSetVarValue(t *testing.T) {
}
}

func TestSetMySQLMaxExecutionTimeValue(t *testing.T) {
tests := []struct {
name string
comments []string
maxExecTime time.Duration
commentsWanted Comments
}{
{
name: "No comments",
comments: nil,
maxExecTime: time.Second * 30,
commentsWanted: []string{"/*+ MAX_EXECUTION_TIME(30000) */"},
},
{
name: "Add to comments",
comments: []string{"/*+ SET_VAR(sort_buffer_size = 16M) */"},
maxExecTime: time.Minute,
commentsWanted: []string{"/*+ SET_VAR(sort_buffer_size = 16M) MAX_EXECUTION_TIME(60000) */"},
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
c := &ParsedComments{
comments: tt.comments,
}
newComments := c.SetMySQLMaxExecutionTimeValue(tt.maxExecTime)
require.EqualValues(t, tt.commentsWanted, newComments)
})
}
}

func TestSetMySQLSetVarValue(t *testing.T) {
tests := []struct {
name string
Expand Down
55 changes: 49 additions & 6 deletions go/vt/vttablet/tabletserver/query_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@
"errors"
"fmt"
"io"
"strconv"
"strings"
"sync"
"time"

"vitess.io/vitess/go/mysql"
"vitess.io/vitess/go/mysql/replication"
"vitess.io/vitess/go/mysql/sqlerror"
"vitess.io/vitess/go/pools/smartconnpool"

"vitess.io/vitess/go/sqltypes"
"vitess.io/vitess/go/trace"
"vitess.io/vitess/go/vt/callerid"
Expand All @@ -41,6 +40,7 @@
"vitess.io/vitess/go/vt/vterrors"
"vitess.io/vitess/go/vt/vtgate/evalengine"
"vitess.io/vitess/go/vt/vttablet/tabletserver/connpool"
"vitess.io/vitess/go/vt/vttablet/tabletserver/planbuilder"
p "vitess.io/vitess/go/vt/vttablet/tabletserver/planbuilder"
"vitess.io/vitess/go/vt/vttablet/tabletserver/rules"
eschema "vitess.io/vitess/go/vt/vttablet/tabletserver/schema"
Expand Down Expand Up @@ -103,6 +103,15 @@
return streamResultPool.Get().(*sqltypes.Result)
}

func (qre *QueryExecutor) isSelect() bool {
switch qre.plan.PlanID {
case planbuilder.PlanSelect, planbuilder.PlanSelectImpossible:
return true
default:
return false
}
}

func (qre *QueryExecutor) shouldConsolidate() bool {
co := qre.options.GetConsolidator()
switch co {
Expand Down Expand Up @@ -852,14 +861,48 @@
return query, query, nil
}

var mysqlOptimizerHints string
if qre.isSelect() {
mysqlOptimizerHints = buildMysqlOptimizerHints(qre.tsv)
}

var buf strings.Builder
buf.Grow(len(qre.marginComments.Leading) + len(query) + len(qre.marginComments.Trailing))
buf.WriteString(qre.marginComments.Leading)
buf.WriteString(query)
buf.WriteString(qre.marginComments.Trailing)
if mysqlOptimizerHints != "" {
fields := strings.SplitN(query, " ", 2)
queryPrefix := fields[0] + " "
queryNonPrefix := " " + fields[1]

buf.Grow(len(qre.marginComments.Leading) + len(queryPrefix) + len(mysqlOptimizerHints) + len(queryNonPrefix) + len(qre.marginComments.Trailing))
buf.WriteString(qre.marginComments.Leading)
buf.WriteString(queryPrefix)
buf.WriteString(mysqlOptimizerHints)
buf.WriteString(queryNonPrefix)
buf.WriteString(qre.marginComments.Trailing)
} else {
buf.Grow(len(qre.marginComments.Leading) + len(query) + len(qre.marginComments.Trailing))
buf.WriteString(qre.marginComments.Leading)
buf.WriteString(query)
buf.WriteString(qre.marginComments.Trailing)
}
return buf.String(), query, nil
}

func buildMysqlOptimizerHints(tsv *TabletServer) string {
var buf strings.Builder
if tsv.config.Oltp.QueryTimeoutPushdown {
// The MAX_EXECUTION_TIME(N) hint sets a statement execution timeout of N milliseconds.
// https://dev.mysql.com/doc/refman/8.0/en/optimizer-hints.html#optimizer-hints-execution-time
queryTimeoutStr := strconv.FormatInt(tsv.loadQueryTimeout(), 64)

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Region Sharding example using etcd on ubuntu-22.04

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Local example using consul on ubuntu-22.04

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / End-to-End Test

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Local example using etcd on ubuntu-22.04

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_migrate_vdiff2_convert_tz)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_basic)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / End-to-End Test (Race)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_partial_movetables_and_materialize)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (topo_connection_cache)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_etcd)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Unit Test (Race)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vindex_heavy)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_throttler_topo)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_tablet_healthcheck_cache)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (12)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_readafterwrite)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_general_heavy)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_across_db_versions)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtctlbackup_sharded_clustertest_heavy)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_foreign_key_stress)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_queries)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old VTTablet

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_transaction)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Schema)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Code Coverage

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (18)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_reservedconn)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vttablet_prscomplex)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_unsharded)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql_server_vault)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtbackup)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vschema)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_godriver)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Queries)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vstream)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql80)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql80)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (15)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_foreignkey_stress)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_consul)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_partial_keyspace)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_v2)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (13)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - Manual

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_concurrentdml)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_gen4)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (22)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_consul)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (21)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_cellalias)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old Vtctl

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema_tracker)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup) mysql57

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql57)

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt

Check failure on line 895 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

cannot use tsv.loadQueryTimeout() (value of type time.Duration) as int64 value in argument to strconv.FormatInt
buf.Grow(len(queryTimeoutStr))
buf.WriteString(queryTimeoutStr)
}

if len(optimizerHints) == 0 {

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Region Sharding example using etcd on ubuntu-22.04

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Local example using consul on ubuntu-22.04

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / End-to-End Test

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Local example using etcd on ubuntu-22.04

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_migrate_vdiff2_convert_tz)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_basic)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / End-to-End Test (Race)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_partial_movetables_and_materialize)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (topo_connection_cache)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_etcd)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Unit Test (Race)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vindex_heavy)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_throttler_topo)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_tablet_healthcheck_cache)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (12)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_readafterwrite)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_general_heavy)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_across_db_versions)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtctlbackup_sharded_clustertest_heavy)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_foreign_key_stress)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_queries)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old VTTablet

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_transaction)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Schema)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Code Coverage

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (18)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_reservedconn)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vttablet_prscomplex)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_unsharded)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql_server_vault)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtbackup)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vschema)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_godriver)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Queries)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vstream)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql80)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql80)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (15)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_foreignkey_stress)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_consul)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_partial_keyspace)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_v2)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (13)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - Manual

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_concurrentdml)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_gen4)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (22)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_consul)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (21)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_cellalias)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old Vtctl

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema_tracker)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup) mysql57

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql57)

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: optimizerHints

Check failure on line 900 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: optimizerHints
return ""
}
return "/*+ " + strings.Join(optimizerHints, " ") + " */"

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Region Sharding example using etcd on ubuntu-22.04

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Local example using consul on ubuntu-22.04

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / End-to-End Test

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Local example using etcd on ubuntu-22.04

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_migrate_vdiff2_convert_tz)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_basic)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / End-to-End Test (Race)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_partial_movetables_and_materialize)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (topo_connection_cache)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_etcd)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Unit Test (Race)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vindex_heavy)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_throttler_topo)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_tablet_healthcheck_cache)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (12)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_readafterwrite)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_general_heavy)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_across_db_versions)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtctlbackup_sharded_clustertest_heavy)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_foreign_key_stress)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_queries)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old VTTablet

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_transaction)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Schema)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Code Coverage

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (18)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_reservedconn)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vttablet_prscomplex)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_unsharded)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql_server_vault)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtbackup)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vschema)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_godriver)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Queries)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vstream)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql80)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql80)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (15)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_foreignkey_stress)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_consul)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_partial_keyspace)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_v2)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (13)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - Manual

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_concurrentdml)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_gen4)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (22)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_consul)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (21)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_cellalias)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old Vtctl

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema_tracker)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup) mysql57

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql57)

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: optimizerHints

Check failure on line 903 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: optimizerHints
}

func rewriteOUTParamError(err error) error {
sqlErr, ok := err.(*sqlerror.SQLError)
if !ok {
Expand All @@ -883,7 +926,7 @@
}

qr, err := qre.execDBConn(conn.Conn, sql, true)
if errors.Is(err, mysql.ErrExecuteFetchMultipleResults) {

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Region Sharding example using etcd on ubuntu-22.04

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Local example using consul on ubuntu-22.04

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / End-to-End Test

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Local example using etcd on ubuntu-22.04

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_migrate_vdiff2_convert_tz)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_basic)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / End-to-End Test (Race)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_partial_movetables_and_materialize)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (topo_connection_cache)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_etcd)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Unit Test (Race)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vindex_heavy)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_throttler_topo)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_tablet_healthcheck_cache)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (12)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_readafterwrite)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_general_heavy)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_across_db_versions)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtctlbackup_sharded_clustertest_heavy)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_foreign_key_stress)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_queries)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old VTTablet

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_transaction)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Schema)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Code Coverage

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (18)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_reservedconn)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vttablet_prscomplex)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_unsharded)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql_server_vault)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtbackup)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vschema)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_godriver)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Queries)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vstream)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql80)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql80)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (15)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_foreignkey_stress)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_consul)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_partial_keyspace)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_v2)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (13)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - Manual

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_concurrentdml)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_gen4)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (22)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_consul)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (21)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_cellalias)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old Vtctl

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema_tracker)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup) mysql57

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql57)

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: mysql

Check failure on line 929 in go/vt/vttablet/tabletserver/query_executor.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: mysql
return nil, vterrors.New(vtrpcpb.Code_UNIMPLEMENTED, "Multi-Resultset not supported in stored procedure")
}
if err != nil {
Expand Down
18 changes: 18 additions & 0 deletions go/vt/vttablet/tabletserver/query_executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import (
"vitess.io/vitess/go/vt/callinfo"
"vitess.io/vitess/go/vt/callinfo/fakecallinfo"
"vitess.io/vitess/go/vt/sidecardb"
"vitess.io/vitess/go/vt/sqlparser"
"vitess.io/vitess/go/vt/tableacl"
"vitess.io/vitess/go/vt/tableacl/simpleacl"
"vitess.io/vitess/go/vt/topo/memorytopo"
Expand Down Expand Up @@ -1837,6 +1838,23 @@ func TestQueryExecSchemaReloadCount(t *testing.T) {
}
}

func TestGenerateFinalSQL(t *testing.T) {
// generateFinalSQL(parsedQuery *sqlparser.ParsedQuery, bindVars map[string]*querypb.BindVariable)
db := setUpQueryExecutorTest(t)
defer db.Close()
tsv := newTestTabletServer(context.Background(), noFlags, db)
defer tsv.StopService()

qre := newTestQueryExecutor(context.Background(), tsv, `select * from something`, 0)
query, noComments, err := qre.generateFinalSQL(
&sqlparser.ParsedQuery{Query: `select * from something`},
map[string]*querypb.BindVariable{},
)
assert.Nil(t, err)
assert.Equal(t, `select * from something`, query)
t.Logf("noComments: %s", noComments)
}

type mockTxThrottler struct {
throttle bool
}
Expand Down
13 changes: 8 additions & 5 deletions go/vt/vttablet/tabletserver/tabletenv/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,9 @@ func registerTabletEnvFlags(fs *pflag.FlagSet) {
fs.BoolVar(&currentConfig.EnableViews, "queryserver-enable-views", false, "Enable views support in vttablet.")

fs.BoolVar(&currentConfig.EnablePerWorkloadTableMetrics, "enable-per-workload-table-metrics", defaultConfig.EnablePerWorkloadTableMetrics, "If true, query counts and query error metrics include a label that identifies the workload")

fs.BoolVar(&currentConfig.Unmanaged, "unmanaged", false, "Indicates an unmanaged tablet, i.e. using an external mysql-compatible database")
fs.BoolVar(&currentConfig.Oltp.QueryTimeoutPushdown, "query-timeout-pushdown", false, "Attempt to push-down timing-out of queries to MySQL with a fallback to a MySQL KILL operation.")
fs.DurationVar(&currentConfig.Oltp.QueryTimeoutPushdownWait, "query-timeout-pushdown-wait", time.Second, "Max time to wait for MySQL to kill a query before sending a fallback KILL operation. Requires --query-timeout-pushdown")
}

var (
Expand Down Expand Up @@ -565,10 +566,12 @@ func (cfg *OlapConfig) UnmarshalJSON(data []byte) (err error) {

// OltpConfig contains the config for oltp settings.
type OltpConfig struct {
QueryTimeout time.Duration `json:"queryTimeoutSeconds,omitempty"`
TxTimeout time.Duration `json:"txTimeoutSeconds,omitempty"`
MaxRows int `json:"maxRows,omitempty"`
WarnRows int `json:"warnRows,omitempty"`
QueryTimeout time.Duration `json:"queryTimeoutSeconds,omitempty"`
TxTimeout time.Duration `json:"txTimeoutSeconds,omitempty"`
QueryTimeoutPushdown bool `json:"queryTimeoutPushdown,omitempty"`
QueryTimeoutPushdownWait time.Duration `json:"queryTimeoutPushdownWait,omitempty"`
MaxRows int `json:"maxRows,omitempty"`
WarnRows int `json:"warnRows,omitempty"`
}

func (cfg *OltpConfig) MarshalJSON() ([]byte, error) {
Expand Down
12 changes: 11 additions & 1 deletion go/vt/vttablet/tabletserver/tabletserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@
return time.Duration(tsv.QueryTimeout.Load())
}

func (tsv *TabletServer) loadQueryTimeoutWithPushdownWait() time.Duration {
if tsv.config.Oltp.QueryTimeoutPushdown {
return tsv.loadQueryTimeout() + tsv.config.Oltp.QueryTimeoutPushdownWait
}
return tsv.loadQueryTimeout()
}

// onlineDDLExecutorToggleTableBuffer is called by onlineDDLExecutor as a callback function. onlineDDLExecutor
// uses it to start/stop query buffering for a given table.
// It is onlineDDLExecutor's responsibility to make sure buffering is stopped after some definite amount of time.
Expand Down Expand Up @@ -493,7 +500,7 @@
func (tsv *TabletServer) begin(ctx context.Context, target *querypb.Target, savepointQueries []string, reservedID int64, settings []string, options *querypb.ExecuteOptions) (state queryservice.TransactionState, err error) {
state.TabletAlias = tsv.alias
err = tsv.execRequest(
ctx, tsv.loadQueryTimeout(),
ctx, tsv.loadQueryTimeoutWithPushdownWait(),
"Begin", "begin", nil,
target, options, false, /* allowOnShutdown */
func(ctx context.Context, logStats *tabletenv.LogStats) error {
Expand Down Expand Up @@ -795,6 +802,9 @@
func (tsv *TabletServer) execute(ctx context.Context, target *querypb.Target, sql string, bindVariables map[string]*querypb.BindVariable, transactionID int64, reservedID int64, settings []string, options *querypb.ExecuteOptions) (result *sqltypes.Result, err error) {
allowOnShutdown := false
timeout := tsv.loadQueryTimeout()
if tsv.config.Oltp.QueryTimeoutPushdown {
return timeout + tsv.config.Oltp.QueryTimeoutPushdownWait

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Region Sharding example using etcd on ubuntu-22.04

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Local example using consul on ubuntu-22.04

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / End-to-End Test

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Local example using etcd on ubuntu-22.04

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_migrate_vdiff2_convert_tz)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_basic)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / End-to-End Test (Race)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_partial_movetables_and_materialize)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (topo_connection_cache)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_etcd)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Unit Test (Race)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vindex_heavy)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_throttler_topo)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_tablet_healthcheck_cache)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (12)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_readafterwrite)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_general_heavy)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_across_db_versions)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtctlbackup_sharded_clustertest_heavy)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_foreign_key_stress)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_queries)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old VTTablet

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_transaction)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Schema)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Code Coverage

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (18)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_reservedconn)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vttablet_prscomplex)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_unsharded)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql_server_vault)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtbackup)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vschema)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_godriver)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Queries)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vstream)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql80)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql80)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (15)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_foreignkey_stress)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_consul)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_partial_keyspace)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_v2)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (13)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - Manual

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_concurrentdml)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_gen4)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (22)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_consul)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (21)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_cellalias)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old Vtctl

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema_tracker)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup) mysql57

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql57)

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

not enough return values

Check failure on line 806 in go/vt/vttablet/tabletserver/tabletserver.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

not enough return values
}
if transactionID != 0 {
allowOnShutdown = true
// Execute calls happen for OLTP only, so we can directly fetch the
Expand Down
Loading