Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11172

Unable to vote for primary when replica sets running on Virtual Machine

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.4.3
    • Component/s: Replication
    • Environment:
      Centos 6.3, Mongo 2.4.3 Running on VMWare vCloud
    • Fully Compatible
    • ALL
    • Hide

      Create a replica set across a vCloud
      Bring down primary
      Secondaries are unable to vote for a new primary since there is no latency between network/io/cpu etc

      Show
      Create a replica set across a vCloud Bring down primary Secondaries are unable to vote for a new primary since there is no latency between network/io/cpu etc

      I have three servers running on three VM's on the same hardware. Because of this there is no network/io/cpu lag. When the primary goes down, the secondaries are unable to vote for a new primary since they are all equal. The workaround for this would be to set weight for the 3 servers, or have an arbiter.

            Assignee:
            Unassigned Unassigned
            Reporter:
            manchuck chuck reeves
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: