SERVER-15496 Code movement to facilitate ripping out legacy replication code