title: MongoDB two member replica-set
body: <p>I have a two member replica set (within a sharded cluster), with no arbiter. I know that the recommended design is to have three servers (or an odd number) but right now I have to stick with this design.</p>
  
  <p>The problem is that when the primary is down, the secondary doesn't get elected as a temporary master (since the priority for both servers is 1 and I have no arbiter).</p>
  
  <p>Is there any way to get that automatic failover (slave becomes primary -> primary back online -> default primary gets its previous state)?</p>
  
  <p>Thank you!</p>