-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication
-
Fully Compatible
-
ALL
-
v8.0, v7.0, v6.0
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
auth_no_pri.js uses a high election timeout of 1 day. It's possible when shutting down the first two nodes that the third node gets elected.
If it becomes the primary, it won't step down to become a secondary because of the high election timeout - we wait for at least that much time before seeing that we can't see a majority of nodes.
We need to make sure it doesn't stay as primary in case it becomes the primary.