-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v4.2, v4.0
-
Repl 2019-09-23, Repl 2019-10-07
-
7
In trying to test that we correctly report the time the new term oplog entry was majority committed. We call awaitReplication before checking the metrics, but awaitReplication doesn't guarantee that the majority commit point has advanced yet. Since there is a race there, we should use awaitLastOpCommitted instead.