Details
-
Improvement
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
Description
Currently it goes to SECONDARY and takes a while before electing self even though there is no-one to contest the election.
This is especially annoying when doing the following steps to bring up a new node:
rs.initiate()
rs.add(getHostName()+':10002')
rs.add(getHostName()+':10003')
I have to wait ~30 seconds before running the second line because the first and only node takes a long time to elect itself.