[SERVER-14118] rs.add could detect _id Created: 31/May/14 Updated: 26/Oct/15 Resolved: 25/Jun/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.3 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | David Murphy | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
When you are using
you must also provide the _id:X however the helper can find the _id based on the previous ones. |
| Comments |
| Comment by Githook User [ 25/Jun/14 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Githook User [ 25/Jun/14 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Githook User [ 25/Jun/14 ] |
|
Author: {u'username': u'dbmurphy', u'name': u'David Murphy', u'email': u'david.b.murphy.tx@gmail.com'}Message: Signed-off-by: Benety Goh <benety@mongodb.com> |
| Comment by Githook User [ 18/Jun/14 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by David Murphy [ 15/Jun/14 ] |
|
Updates have been made in the pull request to add a new test type ( we are not checking this behavior (document based rs.add) currently) |
| Comment by David Murphy [ 03/Jun/14 ] |
|
https://github.com/mongodb/mongo/pull/688 Pull Request made |
| Comment by Asya Kamsky [ 31/May/14 ] |
|
Could you clarify what you are referring to? There is no addShard helper in the replica set. Do you mean sh.addShard? Or rs.add? Or are you suggesting a new helper function? |