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

Unreachable replica set member has a state of 1

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.9.0
    • None
    • Replication
    • None
    • ALL

    Description

      When a replica set member is unreachable, the status reported is this:

      {
      "_id" : 0,
      "name" : "localhost:30000",
      "health" : 0,
      "state" : 1,
      "stateStr" : "(not reachable/healthy)",
      "uptime" : 0,
      "optime" :

      { "t" : 1297877539000, "i" : 1 }

      ,
      "optimeDate" : ISODate("2011-02-16T17:32:19Z"),
      "lastHeartbeat" : ISODate("2011-02-16T17:37:07Z"),
      "errmsg" : "socket exception"
      }

      If the member is unreachable, should the state still be reported as 1? Shouldn't the state be 6 (unknown)?

      Attachments

        Activity

          People

            kristina Kristina Chodorow (Inactive)
            kbanker Kyle Banker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: