-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 3.0.0
-
Component/s: mongorestore
-
None
-
Kernel Tools Iteration 3.1.2
-
v3.0
mongorestore does not skip restore of the system.profile collection. This is a regression introduced in mongorestore 3.0.0.
To illustrate, see the following session with mongorestore 3.0.2:
$ mongorestore302 2015-04-17T19:01:27.134-0400 using default 'dump' directory 2015-04-17T19:01:27.139-0400 building a list of dbs and collections to restore from dump dir 2015-04-17T19:01:27.141-0400 reading metadata file from dump/test/system.profile.metadata.json 2015-04-17T19:01:27.141-0400 restoring test.system.profile from file dump/test/system.profile.bson 2015-04-17T19:01:27.143-0400 no indexes to restore 2015-04-17T19:01:27.143-0400 finished restoring test.system.profile 2015-04-17T19:01:27.143-0400 done
And, the expected behavior with mongorestore 2.6.9:
$ mongorestore269 connected to: 127.0.0.1 2015-04-17T19:01:07.771-0400 dump/test/system.profile.bson 2015-04-17T19:01:07.771-0400 skipping system.profile.bson
- is duplicated by
-
SERVER-18107 Crash on mongorestore with system.profile
- Closed