简体   繁体   中英

How frequently primary mongodb replicate data to secondary?

I have three mongodb machine (1 primary and 2 secondary) with replication. I know primary mongodb doing asynchronous write to secondary but how frequently ?

I read, it use oplog to write secondary but opslog minimum size will be in MB so what will happen if primary goes down before oplog size. ?

Is there any link for documentation where i can read mongodb internal process. ?

You can refer to these two sources:

  1. MongoDB Replication Lag
  2. MongoDB Ops Manager

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM