pub fn plan_from_marker(marker: Option<&ReplicationState>) -> Plan
Decide the next action from a loaded marker.