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

isMaster reports secondary == false when a node is recovering

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL

      If a node in a replica set is marked as "RECOVERING" it is not marked as a secondary in the isMaster.

      This might break the drivers, but theoretically, it should display itself as a secondary because only a secondary can recover.

      E.g.

      "isMaster":

      { "hosts": [ "server1.cc:27018", "server2:27018", "server3:27018" ], "ismaster": false, "maxBsonObjectSize": 16777216, "ok": 1, "primary": "server1:27018", "secondary": false, "setName": "myset" }

            Assignee:
            Unassigned Unassigned
            Reporter:
            rn@deftlabs.com Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: