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

How long does it usually take for mongos to figure out new primary of replicasets?

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.0.2
    • Component/s: Replication, Sharding
    • Environment:
      Debian Linux, PHP driver 1.2.6

      Stepping down a primary with rs.stepDown() makes mongos unusable for a while, causing 500's on the website while it figures out changes. Instead of waiting I restarted mongos and it was working again.

      How long is the normal re-configuration while new primaries are discovered etc?
      And is there a good way to prevent the 500's on the PHP clients from even occurring while you do this.

            Assignee:
            Unassigned Unassigned
            Reporter:
            balboah Johnny Boy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: