Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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 the context.
func SetDDLBinlog ¶
func SetDDLBinlog(txn kv.Transaction, jobID int64, ddlQuery string)
SetDDLBinlog sets DDL binlog in the kv.Transaction.
func WriteBinlog ¶
WriteBinlog writes a binlog to Pump.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.