{{template "header" .}}
同步列表 {{if ne .TableName "" }} - TableName: {{.TableName}} {{end}} {{if ne .SchemaName "" }} - SchemaName: {{.SchemaName}} {{end}}
{{range $i, $toServer := .SyncList}} {{range $k, $v := $toServer.ToServerList}} {{end}} {{end}}
DbName SchemaName TableName PluginName ToServerKey Position PluginParam Status Error ErrorWaitData OP
{{$i}}-{{$k}} {{$toServer.DbName}} {{$toServer.SchemaName}} {{$toServer.TableName}} {{$v.PluginName}} {{$v.ToServerKey}}

BinlogNum: {{$v.LastSuccessBinlog.BinlogFileNum}}

Position : {{$v.LastSuccessBinlog.BinlogPosition}}

GTID : {{$v.LastSuccessBinlog.GTID}}

Timestamp : {{$v.LastSuccessBinlog.Timestamp}}

BinlogEventID : {{$v.LastSuccessBinlog.EventID}}

LastQueueFileNum: {{$v.LastQueueBinlog.BinlogFileNum}}

LastQueuePosition : {{$v.LastQueueBinlog.BinlogPosition}}

LastQueueGTID : {{$v.LastQueueBinlog.GTID}}

LastQueueTimestamp : {{$v.LastQueueBinlog.Timestamp}}

LastQueueEventID : {{$v.LastQueueBinlog.EventID}}

QueueMsgCount: {{$v.QueueMsgCount}}

FileQueueStatus: {{$v.FileQueueStatus}} {{if eq $v.FileQueueStatus false}}

非极端情况下,不要手工点击启动文件队列,进行启动

{{else}} {{end}}

{{range $pKey, $pVal := $v.PluginParam}}

{{$pKey}} : {{$pVal}}

{{end}}
{{$v.Status}} {{$v.Error}} {{if $v.ErrorWaitData }}

{{$v.ErrorWaitData}}

{{end}}

{{if eq $v.Status "stopped"}}

{{end}} {{if or (eq $v.Status "running") (eq $v.Status "") }}

{{end}}

{{template "footer" .}}