[JAVA-1794] DBCollection.addUser fails for pre-2.6 sharded installations Created: 04/May/15 Updated: 05/May/15 Resolved: 04/May/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Command Operations |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | 3.0.1, 3.1.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MongoDB server version < 2.6 |
||
| Issue Links: |
|
||||||||
| Description |
|
A pre-2.6 sharded clusters with three config servers reports an error when inserting a document into the system.users collection which is not pre-populated with an _id. The 3.0 Java driver does not add an _id, so DBCollection.addUser fails with this exception:
|
| Comments |
| Comment by Jeffrey Yemin [ 05/May/15 ] |
|
Closed for 3.0.1 release. |
| Comment by Githook User [ 04/May/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: To work around an issue with three-config server sharded clusters, added _id to documents inserted into system.users collection on pre-2.6 MongoDB servers. |
| Comment by Githook User [ 04/May/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: To work around an issue with three-config server sharded clusters, added _id to documents inserted into system.users collection on pre-2.6 MongoDB servers. |