-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.0.4, 2.0.6, 2.2.0-rc0
-
Component/s: Sharding
-
None
-
ALL
Dropping the database, with the balancer off, doesn't seem to actually drop the database. After the balancer is switched back on the database reappears in the return of 'show dbs'.
To reproduce:
- Create a new database, enable sharding and shard a collection in the database.
- Switch off the balancer: db.settings.update({_id: "balancer"}, {$set: {stopped: true, true)}}
- Drop the database
- Show dbs, database should not appear
- Switch on the balancer: db.settings.update({_id: "balancer"}, {$set: {stopped: true, true)}}
- Show dbs, database should appear again.
Database should return with no collections.