-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Security
-
Labels:None
-
ALL
-
See https://github.com/10gen/QA/blob/master/QA-424/sharded_upgrade_invalid_new_users.js
Essentially what this test does is:
1) Set up a 2.4 sharded cluster with 2 users
2) Manually insert a bad document into admin.system.new_users
3) Upgrade to 2.5.x
4) Set authSchema currentVersion to 2
5) Run authSchemaUpgrade
What ends up happening is that the auth schema version is 3, but I'm unable to log in after the upgrade. Any ideas what's going on here?