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

XMLWordPrintableJSON

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

      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
            Reporter:
            Johnny Boy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: