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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.0-rc0
    • Component/s: Sharding
    • 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
    • Linux

      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

            Assignee:
            matulef Kevin Matulef
            Reporter:
            rookie7799 Pavel Baranov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: