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

db.dropDatabase() on a sharded database causes only one shard to be cleared

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.2.0-rc0
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:
    • Environment:
      2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
      CentOS release 5.5
    • Operating System:
      Linux

      Description

      Single database sharded across two shards.
      Connecting to mongos and running: db.dropDatabase() returns
      mongos> db.dropDatabase()

      { "dropped" : "peek", "ok" : 1 }

      All of the chunks on shard00001 are cleared, however shard00002 still has all the files: peek.0 peek.1 peek.2 etc

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: