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

mongodump stalls dumping a sharded database when authentication is in use

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0-rc0
    • Affects Version/s: 1.9.2
    • Component/s: Sharding
    • Labels:
      None
    • Environment:
      OSX Lion
    • ALL

      Use the attached script to create the database/collection. Read the comments at the head of the file for directions.

      When mongod and mongos are started without --keyFile everything works fine:

      $ ./mongodump -d authtest
      connected to: 127.0.0.1
      DATABASE: authtest to dump/authtest
      authtest.system.indexes to dump/authtest/system.indexes.bson
      4 objects
      authtest.things to dump/authtest/things.bson
      100000 objects
      authtest.system.users to dump/authtest/system.users.bson
      1 objects

      When mongod and mongos are started with --keyFile mongodump stalls dumping the actual documents:

      $ ./mongodump -d authtest -u theadmin -p adminpass
      connected to: 127.0.0.1
      DATABASE: authtest to dump/authtest
      authtest.system.indexes to dump/authtest/system.indexes.bson
      4 objects
      authtest.things to dump/authtest/things.bson

            Assignee:
            kristina Kristina Chodorow (Inactive)
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: