package
1.1.0-beta
Repository: https://github.com/coderushing/tidb.git
Documentation: pkg.go.dev

# Functions

BindDomain binds domain to context.
GetDomain gets domain from context.
NewDomain creates a new domain.
NewSchemaValidator returns a SchemaValidator structure.

# Constants

ResultFail means schemaValidator's check is fail.
ResultSucc means schemaValidator's check is passing.
ResultUnknown means schemaValidator doesn't know the check would be success or fail.

# Variables

ErrInfoSchemaChanged returns the error that information schema is changed.
ErrInfoSchemaExpired returns the error that information schema is out of date.
RunAutoAnalyze indicates if this TiDB server starts auto analyze worker and can run auto analyze job.

# Structs

Domain represents a storage space.
MockFailure mocks reload failed.

# Interfaces

EtcdBackend is used for judging a storage is a real TiKV.
SchemaValidator is the interface for checking the validity of schema version.