-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.2.8
-
Component/s: Storage
-
None
-
ALL
When I try restore databases from dump, mongorestore gives an error:
2016-07-27T14:51:07.204+0700 restoring indexes for collection dbname.ip_stats from metadata 2016-07-27T14:52:12.049+0700 finished restoring dbname.ip_stats (10805669 documents) 2016-07-27T14:52:12.051+0700 restoring users from dbname/dump/admin/system.users.bson.gz 2016-07-27T14:52:12.076+0700 restoring roles from dbname/dump/admin/system.roles.bson.gz 2016-07-27T14:52:12.151+0700 error dropping temporary collection admin.temproles: ns not found 2016-07-27T14:52:12.151+0700 replaying oplog 2016-07-27T14:52:13.604+0700 Failed: restore error: error applying oplog: applyOps: Cannot change the size of a document in a capped collection: 222 != 218
dump created by: mongodump with --oplog --gzip options
same options passed in mongorestore