tidb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BankModel

func BankModel() core.Model

BankModel is the model of bank in TiDB

func BankParser

func BankParser() history.RecordParser

BankParser parses a history of bank operations.

func BankTsoChecker

func BankTsoChecker() core.Checker

BankTsoChecker checks the bank history with the help of tso.

func LongForkChecker

func LongForkChecker() core.Checker

LongForkChecker checks the long fork test history.

func LongForkParser

func LongForkParser() history.RecordParser

LongForkParser parses a history of long fork test.

func TPCCParser

func TPCCParser() history.RecordParser

TPCCParser ...

func TPCCQosChecker

func TPCCQosChecker(warmUpDuration time.Duration, path string) core.Checker

TPCCQosChecker creates a tpccQoSChecker instance

Types

type BankClientCreator

type BankClientCreator struct {
}

BankClientCreator creates a bank test client for tidb.

func (BankClientCreator) Create

Create creates a client.

type LongForkClientCreator

type LongForkClientCreator struct {
}

LongForkClientCreator creates long fork test clients for tidb.

func (LongForkClientCreator) Create

Create creates a new longForkClient.

type MultiBankClientCreator

type MultiBankClientCreator struct {
}

MultiBankClientCreator creates a bank test client for tidb.

func (MultiBankClientCreator) Create

Create creates a client.

type TPCCChecker

type TPCCChecker struct {
	CreatorRef *TPCCClientCreator
}

TPCCChecker ...

func (*TPCCChecker) Check

func (t *TPCCChecker) Check(m core.Model, ops []core.Operation) (bool, error)

Check ...

func (*TPCCChecker) Name

func (t *TPCCChecker) Name() string

Name ...

type TPCCClientCreator

type TPCCClientCreator struct {
	*tpcc.Config

	AsyncCommit bool
	OnePC       bool
	// contains filtered or unexported fields
}

TPCCClientCreator creates tpccClient

func (*TPCCClientCreator) Create

Create ...

Jump to

Keyboard shortcuts

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