[SERVER-13028] fix shell to use createIndex command for createIndex method Created: 04/Mar/14  Updated: 11/Jul/16  Resolved: 13/Mar/14

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 2.6.0-rc2

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

In the shuffle to get tests converted / createIndex downconversion finalized, the shell interface to createIndex was changed to return a WriteResult. This should be fixed to return nothing again to match the drivers.



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

Author:

{u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-13028 fix shell to use createIndex command for createIndex method
Branch: v2.6
https://github.com/mongodb/mongo/commit/d878b59856c44e715185b03bba8fbe1bcd1c9f57

Comment by Githook User [ 13/Mar/14 ]

Author:

{u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-13028 fix shell to use createIndex command for createIndex method
Branch: master
https://github.com/mongodb/mongo/commit/a08c9f4ee6d5389b3a6a96f093d8a1fdecc9cb8d

Comment by Greg Studer [ 05/Mar/14 ]

Think about maybe making this just return the createIndex result if possible - that might ok too.

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