Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClusterID uint64 = 1
ClusterID is set by command line argument, if not set, use default value 1.
View Source
var PumpClient binlog.PumpClient
PumpClient is the gRPC client to write binlog, it is opened on server start and never close, shared by all sessions.
Functions ¶
func GetPrewriteValue ¶
GetPrewriteValue gets binlog prewrite value in a context.
func GetSchemaVersion ¶
GetSchemaVersion gets schema version in a context.
func SetSchemaVersion ¶
SetSchemaVersion sets schema version to a context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.