mongodump stalls dumping a sharded database when authentication is in use

XMLWordPrintableJSON

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

      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 Chodorow (Inactive)
            Reporter:
            Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: