package
2.1.0-rc.2+incompatible
Repository: https://github.com/coderushing/tidb.git
Documentation: pkg.go.dev
# Functions
GetOwnerInfo gets the owner information.
NewMockManager creates a new mock Manager.
NewOwnerManager creates a new Manager.
NewSession creates a new etcd session.
# Constants
NewSessionDefaultRetryCnt is the default retry times when create new session.
NewSessionRetryUnlimited is the unlimited retry times when create new session.
# Variables
ManagerSessionTTL is the etcd session's TTL in seconds.
# Interfaces
DDLOwnerChecker is used to check whether tidb is owner.
Manager is used to campaign the owner and manage the owner information.