Consider the following rs.printReplicationInfo() output: configured oplog size '191513 MB' --- log length start to end '75894 secs (21.08 hrs)' --- oplog first event time 'Thu Aug 19 2021 14:41:25 GMT+0100 (Irish Standard Time)' --- oplog last event time 'Fri Aug 20 2021 11:46:19 GMT+0100 (Irish Standard Time)' --- now 'Fri Aug 20 2021 11:46:22 GMT+0100 (Irish Standard Time)' Select the statement(s) that apply to the rs.printReplicationInfo() output above: Check all that apply:
Answer options
- A.The oplog is configured for 48 hours coverage
- B.The day of the first oplog event is Thu Aug 19 2021
- C.The oplog details in the output only refer to the node on which the command was run
Answer confidence: High
Correct answer: B, C
Explanation language: Chinese
输出显示 log length start to end 为 75894 秒(约 21 小时),所以"配置为 48 小时覆盖"错误——configured oplog size 是按 MB 配置的大小,覆盖时长只是观测结果(A 错)。oplog first event time 是 Thu Aug 19 2021(B 正确);rs.printReplicationInfo() 报告的是执行该命令的那个节点自身 oplog 的状态(C 正确)。