binloginfo

package
v0.0.0-...-970a8ca Latest Latest
Warning

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

Go to latest
Published: May 8, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

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

func GetPrewriteValue(ctx context.Context, createIfNotExists bool) *binlog.PrewriteValue

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

func WriteBinlog(bin *binlog.Binlog, clusterID uint64) error

WriteBinlog writes a binlog to Pump.

Types

This section is empty.

Jump to

Keyboard shortcuts

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