Repair of a DNA gap after the replication fork bypasses a lesion. If a single-strand gap is left behind by the replication fork, the information for its repair must come from the other side of the fork. A recombinase-mediated strand switch provides an undamaged template strand, which is subsequently used to extend the discontinuous strand in the gap. The process is completed by resolution of the Holliday intermediates and ligation.