[SERVER-6366] --noOptionsRestore flag has no affect on mongorestore Created: 09/Jul/12  Updated: 11/Jul/16  Resolved: 11/Jul/12

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 2.1.2
Fix Version/s: 2.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Aaron Heckmann Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: mongorestore
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OSX 10.7.4


Issue Links:
Depends
is depended on by DOCS-416 Add 2.2 MongoRestore Options Closed
Related
Operating System: OS X
Participants:

 Description   

mongo qa108
> db.dropDatabase()
> db.createCollection('capped',

{ capped: true, size: 1000, autoIndexId: true }

);
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



 Comments   
Comment by auto [ 12/Jul/12 ]

Author:

{u'date': u'2012-07-12T14:19:52-07:00', u'email': u'ian.whalen@gmail.com', u'name': u'Ian Whalen'}

Message: Merge pull request #262 from aheckmann/6636

SERVER-6366 - add test case
Branch: master
https://github.com/mongodb/mongo/commit/18e43af212b9831d44f382d155777bcd2b017e28

Comment by auto [ 12/Jul/12 ]

Author:

{u'date': u'2012-07-12T10:33:10-07:00', u'email': u'aaron.heckmann+github@gmail.com', u'name': u'Aaron Heckmann'}

Message: SERVER-6366 - add test case
Branch: master
https://github.com/mongodb/mongo/commit/e0b58b45dd07a2bf2b7d3b5f0f38b0a47a88e6b2

Comment by auto [ 11/Jul/12 ]

Author:

{u'date': u'2012-07-11T10:37:30-07:00', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-6366 fix mongorestore --noOptionsRestore
Branch: master
https://github.com/mongodb/mongo/commit/de19cb41acdbdbd176e0521ad87af0916d102649

Generated at Thu Feb 08 03:11:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.