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

mongodump 2.0.0 fails on replica/slave

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.1, 2.1.0
    • Affects Version/s: 2.0.0
    • Component/s: Tools
    • Labels:
      None
    • Environment:
      build info: Linux bs-linux64.10gen.cc 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41

      OS info: Linux emma 2.6.38-10-server #46-Ubuntu SMP Tue Jun 28 16:31:00 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
    • ALL

      robrien@emma:~/tmp/cam/build$ mongodump --version
      mongodump version 2.0.0
      robrien@emma:~/tmp/cam/build$ mongod --version
      db version v2.0.0, pdfile version 4.5
      Wed Sep 14 14:32:00 git version: 695c67dff0ffc361b8568a13366f027caa406222

      With the above versions on a replica slave mongodump exits with an error:
      robrien@emma:~/tmp/cam/build$ mongodump
      connected to: 127.0.0.1
      all dbs
      assertion: 13106 nextSafe():

      { $err: "not master and slaveok=false", code: 13435 }

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            reedobrien Reed O'Brien
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: