Skip to content

Commit

Permalink
Cherry-pick 90c0057 with conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
vitess-bot[bot] committed Mar 26, 2024
1 parent 8ee3294 commit 8c64641
Show file tree
Hide file tree
Showing 4 changed files with 330 additions and 9 deletions.
73 changes: 73 additions & 0 deletions go/test/endtoend/vtorc/general/vtorc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,3 +495,76 @@ func TestDurabilityPolicySetLater(t *testing.T) {
assert.NotNil(t, primary, "should have elected a primary")
utils.CheckReplication(t, newCluster, primary, shard0.Vttablets, 10*time.Second)
}

func TestFullStatusConnectionPooling(t *testing.T) {
defer utils.PrintVTOrcLogsOnFailure(t, clusterInfo.ClusterInstance)
defer cluster.PanicHandler(t)
utils.SetupVttabletsAndVTOrcs(t, clusterInfo, 4, 0, []string{
"--tablet_manager_grpc_concurrency=1",
}, cluster.VTOrcConfiguration{
PreventCrossDataCenterPrimaryFailover: true,
}, 1, "")
keyspace := &clusterInfo.ClusterInstance.Keyspaces[0]
shard0 := &keyspace.Shards[0]
vtorc := clusterInfo.ClusterInstance.VTOrcProcesses[0]

// find primary from topo
curPrimary := utils.ShardPrimaryTablet(t, clusterInfo, keyspace, shard0)
assert.NotNil(t, curPrimary, "should have elected a primary")
vtOrcProcess := clusterInfo.ClusterInstance.VTOrcProcesses[0]
utils.WaitForSuccessfulRecoveryCount(t, vtOrcProcess, logic.ElectNewPrimaryRecoveryName, 1)
utils.WaitForSuccessfulPRSCount(t, vtOrcProcess, keyspace.Name, shard0.Name, 1)

// Kill the current primary.
_ = curPrimary.VttabletProcess.Kill()

// Wait until VTOrc notices some problems
status, resp := utils.MakeAPICallRetry(t, vtorc, "/api/replication-analysis", func(_ int, response string) bool {
return response == "null"
})
assert.Equal(t, 200, status)
assert.Contains(t, resp, "UnreachablePrimary")

time.Sleep(1 * time.Minute)

// Change the primaries ports and restart it.
curPrimary.VttabletProcess.Port = clusterInfo.ClusterInstance.GetAndReservePort()
curPrimary.VttabletProcess.GrpcPort = clusterInfo.ClusterInstance.GetAndReservePort()
err := curPrimary.VttabletProcess.Setup()
require.NoError(t, err)

// See that VTOrc eventually reports no errors.
// Wait until there are no problems and the api endpoint returns null
status, resp = utils.MakeAPICallRetry(t, vtorc, "/api/replication-analysis", func(_ int, response string) bool {
return response != "null"
})
assert.Equal(t, 200, status)
assert.Equal(t, "null", resp)

// REPEATED
// Kill the current primary.
_ = curPrimary.VttabletProcess.Kill()

// Wait until VTOrc notices some problems
status, resp = utils.MakeAPICallRetry(t, vtorc, "/api/replication-analysis", func(_ int, response string) bool {
return response == "null"
})
assert.Equal(t, 200, status)
assert.Contains(t, resp, "UnreachablePrimary")

time.Sleep(1 * time.Minute)

// Change the primaries ports back to original and restart it.
curPrimary.VttabletProcess.Port = curPrimary.HTTPPort
curPrimary.VttabletProcess.GrpcPort = curPrimary.GrpcPort
err = curPrimary.VttabletProcess.Setup()
require.NoError(t, err)

// See that VTOrc eventually reports no errors.
// Wait until there are no problems and the api endpoint returns null
status, resp = utils.MakeAPICallRetry(t, vtorc, "/api/replication-analysis", func(_ int, response string) bool {
return response != "null"
})
assert.Equal(t, 200, status)
assert.Equal(t, "null", resp)
}
2 changes: 1 addition & 1 deletion go/test/endtoend/vtorc/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ func MakeAPICall(t *testing.T, vtorc *cluster.VTOrcProcess, url string) (status
// The function provided takes in the status and response and returns if we should continue to retry or not
func MakeAPICallRetry(t *testing.T, vtorc *cluster.VTOrcProcess, url string, retry func(int, string) bool) (status int, response string) {
t.Helper()
timeout := time.After(10 * time.Second)
timeout := time.After(30 * time.Second)
for {
select {
case <-timeout:
Expand Down
87 changes: 79 additions & 8 deletions go/vt/vttablet/grpctmclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ import (
topodatapb "vitess.io/vitess/go/vt/proto/topodata"
)

type DialPoolGroup int

const (
dialPoolGroupThrottler DialPoolGroup = iota
dialPoolGroupVTOrc
)

type invalidatorFunc func()

var (
concurrency = 8
cert string
Expand Down Expand Up @@ -92,14 +101,17 @@ type tmc struct {
client tabletmanagerservicepb.TabletManagerClient
}

type addrTmcMap map[string]*tmc

// grpcClient implements both dialer and poolDialer.
type grpcClient struct {
// This cache of connections is to maximize QPS for ExecuteFetchAs{Dba,App} and
// CheckThrottler. Note we'll keep the clients open and close them upon Close() only.
// But that's OK because usually the tasks that use them are one-purpose only.
// The map is protected by the mutex.
mu sync.Mutex
rpcClientMap map[string]chan *tmc
mu sync.Mutex
rpcClientMap map[string]chan *tmc
rpcDialPoolMap map[DialPoolGroup]addrTmcMap
}

type dialer interface {
Expand All @@ -109,6 +121,7 @@ type dialer interface {

type poolDialer interface {
dialPool(ctx context.Context, tablet *topodatapb.Tablet) (tabletmanagerservicepb.TabletManagerClient, error)
dialDedicatedPool(ctx context.Context, dialPoolGroup DialPoolGroup, tablet *topodatapb.Tablet) (tabletmanagerservicepb.TabletManagerClient, invalidatorFunc, error)
}

// Client implements tmclient.TabletManagerClient.
Expand Down Expand Up @@ -152,6 +165,17 @@ func (client *grpcClient) dial(ctx context.Context, tablet *topodatapb.Tablet) (
return tabletmanagerservicepb.NewTabletManagerClient(cc), cc, nil
}

func (client *grpcClient) createTmc(addr string, opt grpc.DialOption) (*tmc, error) {
cc, err := grpcclient.Dial(addr, grpcclient.FailFast(false), opt)
if err != nil {
return nil, err
}
return &tmc{
cc: cc,
client: tabletmanagerservicepb.NewTabletManagerClient(cc),
}, nil
}

func (client *grpcClient) dialPool(ctx context.Context, tablet *topodatapb.Tablet) (tabletmanagerservicepb.TabletManagerClient, error) {
addr := netutil.JoinHostPort(tablet.Hostname, int32(tablet.PortMap["grpc"]))
opt, err := grpcclient.SecureDialOption(cert, key, ca, crl, name)
Expand All @@ -170,14 +194,11 @@ func (client *grpcClient) dialPool(ctx context.Context, tablet *topodatapb.Table
client.mu.Unlock()

for i := 0; i < cap(c); i++ {
cc, err := grpcclient.Dial(addr, grpcclient.FailFast(false), opt)
tm, err := client.createTmc(addr, opt)
if err != nil {
return nil, err
}
c <- &tmc{
cc: cc,
client: tabletmanagerservicepb.NewTabletManagerClient(cc),
}
c <- tm
}
} else {
client.mu.Unlock()
Expand All @@ -188,6 +209,38 @@ func (client *grpcClient) dialPool(ctx context.Context, tablet *topodatapb.Table
return result.client, nil
}

func (client *grpcClient) dialDedicatedPool(ctx context.Context, dialPoolGroup DialPoolGroup, tablet *topodatapb.Tablet) (tabletmanagerservicepb.TabletManagerClient, invalidatorFunc, error) {
addr := netutil.JoinHostPort(tablet.Hostname, int32(tablet.PortMap["grpc"]))
opt, err := grpcclient.SecureDialOption(cert, key, ca, crl, name)
if err != nil {
return nil, nil, err
}

client.mu.Lock()
defer client.mu.Unlock()
if client.rpcDialPoolMap == nil {
client.rpcDialPoolMap = make(map[DialPoolGroup]addrTmcMap)
}
if _, ok := client.rpcDialPoolMap[dialPoolGroup]; !ok {
client.rpcDialPoolMap[dialPoolGroup] = make(addrTmcMap)
}
m := client.rpcDialPoolMap[dialPoolGroup]
if _, ok := m[addr]; !ok {
tm, err := client.createTmc(addr, opt)
if err != nil {
return nil, nil, err
}
m[addr] = tm
}
invalidator := func() {
client.mu.Lock()
defer client.mu.Unlock()
m[addr].cc.Close()
delete(m, addr)
}
return m[addr].client, invalidator, nil
}

// Close is part of the tmclient.TabletManagerClient interface.
func (client *grpcClient) Close() {
client.mu.Lock()
Expand Down Expand Up @@ -570,13 +623,27 @@ func (client *Client) ReplicationStatus(ctx context.Context, tablet *topodatapb.

// FullStatus is part of the tmclient.TabletManagerClient interface.
func (client *Client) FullStatus(ctx context.Context, tablet *topodatapb.Tablet) (*replicationdatapb.FullStatus, error) {
<<<<<<< HEAD

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Code Coverage

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_migrate_vdiff2_convert_tz)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (12)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vschema)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_partial_keyspace)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtctlbackup_sharded_clustertest_heavy)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vstream)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Code Coverage

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_queries)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_etcd)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Unit Test (Race)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_v2)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

expected statement, found '<<'

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

expected statement, found '<<'

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (22)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (21)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql80)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_transaction)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old Vtctl

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_gen4)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_tablet_healthcheck_cache)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_throttler_topo)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_godriver)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Local example using zk2 on ubuntu-22.04

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Local example using etcd on ubuntu-22.04

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_concurrentdml)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_readafterwrite)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Local example using consul on ubuntu-22.04

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_across_db_versions)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent New VTTablet

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_cellalias)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_general_heavy)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_consul)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_partial_movetables_and_materialize)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema_tracker)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old VTTablet

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vindex_heavy)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql80)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - Manual

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql57)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_basic)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / End-to-End Test

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql_server_vault)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E - Next Release

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtbackup)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (topo_connection_cache)

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

syntax error: unexpected <<, expected }

Check failure on line 626 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

syntax error: unexpected <<, expected }
c, closer, err := client.dialer.dial(ctx, tablet)
if err != nil {
return nil, err
=======

Check failure on line 630 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

expected statement, found '=='

Check failure on line 630 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

expected statement, found '=='
var c tabletmanagerservicepb.TabletManagerClient
var invalidator invalidatorFunc
var err error
if poolDialer, ok := client.dialer.(poolDialer); ok {

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Code Coverage

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_migrate_vdiff2_convert_tz)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (12)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vschema)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_partial_keyspace)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtctlbackup_sharded_clustertest_heavy)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vstream)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Code Coverage

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_queries)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_etcd)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Unit Test (Race)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_v2)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (22)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (21)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql80)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_transaction)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old Vtctl

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_gen4)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_tablet_healthcheck_cache)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_throttler_topo)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_godriver)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Local example using zk2 on ubuntu-22.04

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Local example using etcd on ubuntu-22.04

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_concurrentdml)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_readafterwrite)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Local example using consul on ubuntu-22.04

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_across_db_versions)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent New VTTablet

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_cellalias)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_general_heavy)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_consul)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_partial_movetables_and_materialize)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema_tracker)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old VTTablet

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vindex_heavy)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql80)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - Manual

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql57)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_basic)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / End-to-End Test

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql_server_vault)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E - Next Release

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtbackup)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (topo_connection_cache)

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

syntax error: non-declaration statement outside function body

Check failure on line 634 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

syntax error: non-declaration statement outside function body
c, invalidator, err = poolDialer.dialDedicatedPool(ctx, dialPoolGroupVTOrc, tablet)
if err != nil {
return nil, err
}
>>>>>>> 90c0057753 (Dedicated poolDialer logic for VTOrc, throttler (#15562))

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Code Coverage

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_migrate_vdiff2_convert_tz)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (12)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vschema)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_partial_keyspace)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtctlbackup_sharded_clustertest_heavy)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vstream)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Code Coverage

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_queries)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_etcd)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Unit Test (Race)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_v2)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

expected statement, found '>>'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

illegal character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

expected statement, found '>>'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

illegal character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (22)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (21)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql80)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_transaction)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old Vtctl

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_gen4)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_tablet_healthcheck_cache)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_throttler_topo)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_godriver)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Local example using zk2 on ubuntu-22.04

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Local example using etcd on ubuntu-22.04

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_concurrentdml)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_readafterwrite)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Local example using consul on ubuntu-22.04

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_across_db_versions)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent New VTTablet

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_cellalias)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_general_heavy)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_consul)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_partial_movetables_and_materialize)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema_tracker)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old VTTablet

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vindex_heavy)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql80)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - Manual

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql57)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_basic)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / End-to-End Test

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql_server_vault)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E - Next Release

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtbackup)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (topo_connection_cache)

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

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

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

invalid character U+0023 '#'

Check failure on line 639 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

invalid character U+0023 '#'
}
defer closer.Close()

Check failure on line 641 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

missing ',' in argument list

Check failure on line 641 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

missing ',' in argument list
response, err := c.FullStatus(ctx, &tabletmanagerdatapb.FullStatusRequest{})

Check failure on line 642 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

missing ',' in argument list

Check failure on line 642 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

missing ',' in argument list
if err != nil {

Check failure on line 643 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

expected operand, found 'if'

Check failure on line 643 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

expected operand, found 'if'
if invalidator != nil {

Check failure on line 644 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

expected operand, found 'if'

Check failure on line 644 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

expected operand, found 'if'
invalidator()

Check failure on line 645 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

missing ',' before newline in composite literal

Check failure on line 645 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

missing ',' before newline in composite literal
}

Check failure on line 646 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

missing ',' before newline in composite literal

Check failure on line 646 in go/vt/vttablet/grpctmclient/client.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

missing ',' before newline in composite literal
return nil, err
}
return response.Status, nil
Expand Down Expand Up @@ -1009,9 +1076,10 @@ func (client *Client) Backup(ctx context.Context, tablet *topodatapb.Tablet, req
// and dialing the other tablet every time is not practical.
func (client *Client) CheckThrottler(ctx context.Context, tablet *topodatapb.Tablet, req *tabletmanagerdatapb.CheckThrottlerRequest) (*tabletmanagerdatapb.CheckThrottlerResponse, error) {
var c tabletmanagerservicepb.TabletManagerClient
var invalidator invalidatorFunc
var err error
if poolDialer, ok := client.dialer.(poolDialer); ok {
c, err = poolDialer.dialPool(ctx, tablet)
c, invalidator, err = poolDialer.dialDedicatedPool(ctx, dialPoolGroupThrottler, tablet)
if err != nil {
return nil, err
}
Expand All @@ -1028,6 +1096,9 @@ func (client *Client) CheckThrottler(ctx context.Context, tablet *topodatapb.Tab

response, err := c.CheckThrottler(ctx, req)
if err != nil {
if invalidator != nil {
invalidator()
}
return nil, err
}
return response, nil
Expand Down
Loading

0 comments on commit 8c64641

Please sign in to comment.