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

mongodump stalls dumping a sharded database when authentication is in use

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.9.2
    • Fix Version/s: 2.0.0-rc0
    • Component/s: Sharding
    • Labels:
      None
    • Environment:
      OSX Lion
    • Operating System:
      ALL

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            kristina Kristina Chodorow
            Reporter:
            behackett Bernie Hackett
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: