buffer

package
v0.12.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferingTest

type BufferingTest struct {
	Assert   func(t *testing.T, shard string, stats *VTGateBufferingStats)
	Failover func(t *testing.T, cluster *cluster.LocalProcessCluster, keyspace string, reads, writes QueryEngine)

	ReserveConn bool
	SlowQueries bool

	VSchema         string
	VtGateExtraArgs []string
	// contains filtered or unexported fields
}

func (*BufferingTest) Test

func (bt *BufferingTest) Test(t *testing.T)

type QueryEngine

type QueryEngine interface {
	ExpectQueries(count int)
}

type VTGateBufferingStats

type VTGateBufferingStats struct {
	BufferLastRequestsInFlightMax map[string]int
	HealthcheckPrimaryPromoted    map[string]int
	BufferFailoverDurationSumMs   map[string]int
	BufferRequestsBuffered        map[string]int
	BufferStops                   map[string]int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL