Fofllow-up to #503. That PR didn't include Is_Replica in its Start replication. task.
In addition I found that the previous logic of running Start replication. when not slave.Is_Slave would never start the replica, since slave.Is_Slave would evaluate to true. The reason being the replication is setup, it just hasn't been started yet, so this PR also fixes that.
Fofllow-up to #503. That PR didn't include
Is_Replica
in itsStart replication.
task.In addition I found that the previous logic of running
Start replication.
whennot slave.Is_Slave
would never start the replica, sinceslave.Is_Slave
would evaluate totrue
. The reason being the replication is setup, it just hasn't been started yet, so this PR also fixes that.