Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
v4.2, v4.0
-
Repl 2019-09-23, Repl 2019-10-07
-
31
Description
We call server status to verify the way catchup ended before before making sure the former primary has transitioned back to a secondary. This can cause a race where the node hasn't actually exited catchup when we try to check the metrics.