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

web admin for relset is missing values for the status

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.2
    • Affects Version/s: 1.7.1
    • Component/s: Admin
    • Labels:
      None
    • Environment:
    • ALL

      Problem:
      The web UI is showing null values for the "status" column in the ReplSet screen. See attached.

      However, this is being report by rs.status()

      > rs.status()
      {
      "set" : "leadpoint-replset0",
      "date" : "Wed Oct 13 2010 20:43:14 GMT-0700 (PDT)",
      "myState" : 1,
      "members" : [
      {
      "_id" : 0,
      "name" : "10.245.218.47:27000",
      "health" : 1,
      "state" : 7,
      "stateStr" : "ARBITER",
      "uptime" : 1067,
      "optime" :

      { "t" : 0, "i" : 0 }

      ,
      "optimeDate" : "Wed Dec 31 1969 16:00:00 GMT-0800 (PST)",
      "lastHeartbeat" : "Wed Oct 13 2010 20:43:13 GMT-0700 (PDT)"
      },
      {
      "_id" : 1,
      "name" : "10.212.181.220:27000",
      "health" : 1,
      "state" : 2,
      "stateStr" : "SECONDARY",
      "uptime" : 1073,
      "optime" :

      { "t" : 1287027435000, "i" : 2773 }

      ,
      "optimeDate" : "Wed Oct 13 2010 20:37:15 GMT-0700 (PDT)",
      "lastHeartbeat" : "Wed Oct 13 2010 20:43:13 GMT-0700 (PDT)"
      },
      {
      "_id" : 2,
      "name" : "10.203.41.178:27000",
      "health" : 1,
      "state" : 2,
      "stateStr" : "SECONDARY",
      "uptime" : 1065,
      "optime" :

      { "t" : 1287027545000, "i" : 8248 }

      ,
      "optimeDate" : "Wed Oct 13 2010 20:39:05 GMT-0700 (PDT)",
      "lastHeartbeat" : "Wed Oct 13 2010 20:43:12 GMT-0700 (PDT)"
      },
      {
      "_id" : 3,
      "name" : "10.202.7.100:27000",
      "health" : 1,
      "state" : 2,
      "stateStr" : "SECONDARY",
      "uptime" : 1071,
      "optime" :

      { "t" : 1287027516000, "i" : 1165 }

      ,
      "optimeDate" : "Wed Oct 13 2010 20:38:36 GMT-0700 (PDT)",
      "lastHeartbeat" : "Wed Oct 13 2010 20:43:12 GMT-0700 (PDT)"
      },

      { "_id" : 4, "name" : "ip-10-203-6-84:27000", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "self" : true }

      ],
      "ok" : 1
      }

      Reproduce:

      • create a set
      • log onto the web ui

      Business Case:

      • user experience

        1. status.png
          status.png
          43 kB
        2. Screen shot 2010-10-13 at 8.37.07 PM.png
          Screen shot 2010-10-13 at 8.37.07 PM.png
          58 kB

            Assignee:
            kristina Kristina Chodorow (Inactive)
            Reporter:
            alvin Alvin Richards (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: