(coordinates mysql.BinlogCoordinates)
| 820 | } |
| 821 | |
| 822 | func (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' |