Replication to a new node

Hi,

When a new node joins a cluster, or when another node fails (so a new one takes it’s place), it contains 0 data initially. Therefore an “initial sync” is made, like written here: https://www.mongodb.com/docs/manual/core/replica-set-sync/

My questions are:

  1. Is the logical sync the current default of the latest version? will that remain the case?
  2. Is there a location where I could learn more on how the file-based initial sync is made? It is supposed to be much more efficient as it sequentially copies the DB files. But it is interesting how correctness and consistency of the data is maintained while the original database continues to operate

Thanks,
Roey.

Doc says file based initial sync is an enterprise feature only.

Copying files directly has higher risks than using logical statements, e.g. hardware compatibility, though it’s generally much faster.

seems yes for community version

1 Like

Thanks for the quick response Kobe.

Do you have any idea about whether that is true for enterprise?
Is there a location where I could learn more on how the file-based initial sync is done?