Details
-
Improvement
-
Resolution: Fixed
-
Minor - P4
-
None
-
Replication
-
Fully Compatible
-
Repl 2023-03-06, Repl 2023-03-20, Repl 2023-04-03
Description
_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.