[SERVER-12214] Make WriteResult in the shell adhere to write command spec Created: 29/Dec/13 Updated: 11/Jul/16 Resolved: 08/Jan/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Pasette (Inactive) | Assignee: | Randolph Tan |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
The write cmd spec changed to return {ok: 1}for all cases except for auth failure and failure to parse command. The WriteResult class in the shell to match the spec (/src/mongo/shell/writes.js). |
| Comments |
| Comment by Githook User [ 10/Jan/14 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: Restore _validateForStorage definition after test in order not to break succeeding tests in sharding passthrough. |
| Comment by Randolph Tan [ 10/Jan/14 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: |
| Comment by Githook User [ 10/Jan/14 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: Put back original fix by reverting fa01bee42fa6b495474eded723ec0c4a538d802f |
| Comment by Githook User [ 09/Jan/14 ] |
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: Revert " This reverts commit 26fd0b03e7b41940a1b7a6de7d23ea3d00d9dc47. |
| Comment by Githook User [ 08/Jan/14 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: |