(option binlogreplication.ReplicationOption)
| 518 | } |
| 519 | |
| 520 | if runningState == notRunning { |
| 521 | logrus.Trace("no previous replication running state; not auto starting replication") |
| 522 | return nil |
| 523 | } |
| 524 | |
| 525 | logrus.Info("auto-starting binlog replication from source...") |
| 526 | return d.StartReplica(d.ctx) |
| 527 | } |
| 528 | |
| 529 | // |
| 530 | // Helper functions |
| 531 | // |
no test coverage detected