[SERVER-12854] Prevent mongorestore from restoring user data to a 2.6 system with 2.4 schema users Created: 24/Feb/14  Updated: 11/Jul/16  Resolved: 05/Mar/14

Status: Closed
Project: Core Server
Component/s: Security, Tools
Affects Version/s: None
Fix Version/s: 2.6.0-rc1

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-12541 Mongorestore cannot restore 2.4-schem... Closed
is related to SERVER-12827 can't log in again after running mong... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

The documentation states that after upgrading binaries to 2.6, the only supported way to modify users is by first upgrading the authz schema. mongorestore currently treats a 2.6 binary with 2.4 schema like a 2.4 binary, and happily restore users.



 Comments   
Comment by Githook User [ 05/Mar/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-12854 Prevent mongorestore from restoring user data to a 2.6 system with 2.4 schema users
Branch: master
https://github.com/mongodb/mongo/commit/0ee6886263937f9ed0e9d74fa8753cac02a18617

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