blocking for replication returns success with no replication configured

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.8
    • Affects Version/s: 1.4.4
    • Component/s: None
    • None
    • Environment:
      ubuntu 10.04.1, x86-64
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > db.printReplicationInfo()
      {
      "errmsg" : "local.oplog.$main, or its options, not found in system.namespaces collection (not --master?)"
      }

      > db.printSlaveReplicationInfo()
      local.sources is empty; is this db a --slave?

      > coll.insert({})
      > db.runCommand(

      { getlasterror: 1, w: 2, wtimeout: 3000 }

      )

      { "err" : null, "n" : 0, "ok" : 1 }

      The above should fail--it could not possibly have replicated to two servers since there is only one.

              Assignee:
              Eliot Horowitz (Inactive)
              Reporter:
              Nick Leippe
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: