master->origin, slave->replica