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

initial_sync3.js fails sporadically due to wrong node being elected primary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0-rc0
    • Component/s: Replication
    • Labels:
      None
    • Operating System:
      ALL

      Description

      http://buildlogs.mongodb.org/MCI_linux-64/builds/121974/test/replicasets_0/initial_sync3.js

      Error: assert.soon failed: function () {
          var result = nodes[1].getDB("admin").runCommand({isMaster : 1});
          printjson(result);
          return result.secondary;
      }
          at Error (<anonymous>)
          at doassert (src/mongo/shell/assert.js:11:14)
          at Function.assert.soon (src/mongo/shell/assert.js:181:51)
          at /data/mci/shell/src/jstests/replsets/initial_sync3.js:47:8

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: