-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Replication
-
Replication
-
Fully Compatible
-
Repl 2023-03-06, Repl 2023-03-20, Repl 2023-04-03
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
_shouldTakeOverPrimary doesn't check if a node is priority:0 before scheduling a priority or catchup takeover. Later on, it will choose not to stand for election. This is confusing in the logs and wastes a very tiny amount of resources on the node.
This can clearly be seen in this test.