Initial sync a new replica node - minimal impact

Hey @dogs_Cute , thanks a lot for answering.

So I assume the breakdown is:

  • stop the mongod service on a slave node
  • copy the files to the “to-be” replica node’s data directory
  • start the original node backup up (and it should begin catching up)
  • start the new node up and add it to the replicaSet.

I assume that as long as the OpLog is fresh enough it should be able to catch up as well.

Did I get that right ?

Thanks,