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?

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 2.0.2
    • Fix Version/s: None
    • Component/s: Replication, Sharding
    • Labels:
    • Environment:
      Debian Linux, PHP driver 1.2.6

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: