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

isMaster reports secondary == false when a node is recovering

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • ALL

    Description

      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" }

      Attachments

        Activity

          People

            Unassigned Unassigned
            rgnitz Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: