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

replSet member can fall out of RECOVERING back into SECONDARY even if no other node in the set can be authenticated against.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.2
    • Component/s: Replication, Security
    • Labels:
    • Operating System:
      ALL

      Description

       m31000| Mon May 28 08:52:17 [rsHealthPoll] could not authenticate against ip-10-110-9-236:31002, { errmsg: "auth fails", ok: 0.0 }
       m31000| Mon May 28 08:52:17 [rsHealthPoll] couldn't connect to ip-10-110-9-236:31001: couldn't connect to server ip-10-110-9-236:31001
       m31002| Mon May 28 08:52:17 [rsHealthPoll] couldn't connect to ip-10-110-9-236:31001: couldn't connect to server ip-10-110-9-236:31001
       m31002| Mon May 28 08:52:17 [rsBackgroundSync] waiting for 3 pings from other members before syncing
       m31000| Mon May 28 08:52:19 [rsHealthPoll] couldn't connect to ip-10-110-9-236:31001: couldn't connect to server ip-10-110-9-236:31001
       m31000| Mon May 28 08:52:19 [rsBackgroundSync] waiting for 6 pings from other members before syncing
       m31002| Mon May 28 08:52:19 [rsHealthPoll] couldn't connect to ip-10-110-9-236:31001: couldn't connect to server ip-10-110-9-236:31001
       m31000| Mon May 28 08:52:21 [rsMgr] replset error could not reach/authenticate against any members
       m31000| Mon May 28 08:52:21 [rsMgr] replSet RECOVERING
       m31000| Mon May 28 08:52:21 [rsHealthPoll] couldn't connect to ip-10-110-9-236:31001: couldn't connect to server ip-10-110-9-236:31001
       m31000| Mon May 28 08:52:21 [rsSync] replSet SECONDARY
      assert.soon failed: function () {
          var result = m.getDB("admin").runCommand({isMaster:1});
          return !result.ismaster && !result.secondary;
      }, msg:undefined
      Error("Printing Stack Trace")@:0
      ()@src/mongo/shell/utils.js:37
      ("assert.soon failed: function () {\n    var result = m.getDB(\"admin\").runCommand({isMaster:1});\n    return !result.ismaster && !result.secondary;\n}, msg:undefined")@src/mongo/shell/utils.js:58
      ((function () {var result = m.getDB("admin").runCommand({isMaster:1});return !result.ismaster && !result.secondary;}))@src/mongo/shell/utils.js:167
      ()@/mnt/home/buildbot/slave/Linux_64bit_Nightly/mongo/jstests/replsets/auth2.js:55
      @/mnt/home/buildbot/slave/Linux_64bit_Nightly/mongo/jstests/replsets/auth2.js:99

      http://buildbot.mongodb.org/builders/Nightly%20Linux%2064-bit/builds/986/steps/test_9/logs/stdio

        Attachments

          Activity

            People

            Assignee:
            kristina Kristina Chodorow (Inactive)
            Reporter:
            ian.whalen Ian Whalen
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: