MCPcopy
hub / github.com/github/gh-ost / SetRecentBinlogCoordinates

Method SetRecentBinlogCoordinates

go/base/context.go:822–826  ·  view source on GitHub ↗
(coordinates mysql.BinlogCoordinates)

Source from the content-addressed store, hash-verified

820}
821
822func (mctx *MigrationContext) SetRecentBinlogCoordinates(coordinates mysql.BinlogCoordinates) {
823 mctx.throttleMutex.Lock()
824 defer mctx.throttleMutex.Unlock()
825 mctx.recentBinlogCoordinates = coordinates
826}
827
828// ReadMaxLoad parses the `--max-load` flag, which is in multiple key-value format,
829// such as: 'Threads_running=100,Threads_connected=500'

Callers 1

initiateStreamingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected