Hello,
I got the following log output below. Why is the delay always changing from 0 to 3,5,7 seconds then back to 0? Is this normal? There are no queries performed to the mongodb database during the checking of the replication info.
myshard01:PRIMARY> db.printSlaveReplicationInfo()
source: node01:27018
syncedTo: Fri Aug 28 2020 07:27:18 GMT+0000 (UTC)
0 secs (0 hrs) behind the primary
source: node03:27018
syncedTo: Fri Aug 28 2020 07:27:18 GMT+0000 (UTC)
0 secs (0 hrs) behind the primary
myshard01:PRIMARY>
myshard01:PRIMARY> db.printSlaveReplicationInfo()
source: node01:27018
syncedTo: Fri Aug 28 2020 07:27:18 GMT+0000 (UTC)
0 secs (0 hrs) behind the primary
source: node03:27018
syncedTo: Fri Aug 28 2020 07:27:18 GMT+0000 (UTC)
0 secs (0 hrs) behind the primary
myshard01:PRIMARY>
myshard01:PRIMARY> db.printSlaveReplicationInfo()
source: node01:27018
syncedTo: Fri Aug 28 2020 07:27:18 GMT+0000 (UTC)
0 secs (0 hrs) behind the primary
source: node03:27018
syncedTo: Fri Aug 28 2020 07:27:18 GMT+0000 (UTC)
0 secs (0 hrs) behind the primary
myshard01:PRIMARY>