-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.1.2
-
Component/s: Tools
-
Environment:OSX 10.7.4
-
OS X
mongo qa108
> db.dropDatabase()
> db.createCollection('capped',
);
exit;
mongodump -d qa108 -c capped -o qa108
mongorestore -d qa108 --drop --noOptionsRestore ./qa108/qa108
mongo qa108
> assert(true !== db.capped.stats().capped) // fail
// examine db.capped.exists().options to see how all options were recreated