[SERVER-27711] createIndexes command incorrectly rejects maxTimeMS option Created: 17/Jan/17  Updated: 04/Jun/17  Resolved: 10/Mar/17

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: 3.4.0-rc0
Fix Version/s: 3.4.4, 3.5.5

Type: Bug Priority: Major - P3
Reporter: Jeremy Mikola Assignee: James Wahlin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to DOCS-9823 Document maxTimeMS option for all CRU... Closed
is related to SERVER-769 Validate top-level & index spec field... Closed
is related to DRIVERS-374 Test maxTimeMS is an accepted option ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4
Steps To Reproduce:

Issue the createIndexes command with a maxTimeMS option.

Sprint: Query 2017-03-27
Participants:

 Description   

When SERVER-769 added validation to the createIndexes command, it neglected to include maxTimeMS as a permitted option (see: relevant code).



 Comments   
Comment by Jeremy Mikola [ 02/Jun/17 ]

Renaming the issue title so that it's clearer that this was a bug report and not a feature change.

Comment by Githook User [ 28/Mar/17 ]

Author:

{u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: SERVER-27711 Allow maxTimeMS option for createIndexes command

(cherry picked from commit 5a0e4b7df321733d4a398e947ab0b7fac919131d)
Branch: v3.4
https://github.com/mongodb/mongo/commit/029ae8ea1485850537168050228a939bda4d2fe1

Comment by James Wahlin [ 10/Mar/17 ]

Marking "Driver Changes" as maybe, as there may be tests that need updating / un-blacklisting with this fix.

Comment by Githook User [ 10/Mar/17 ]

Author:

{u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: SERVER-27711 Allow maxTimeMS option for createIndexes command
Branch: master
https://github.com/mongodb/mongo/commit/5a0e4b7df321733d4a398e947ab0b7fac919131d

Generated at Thu Feb 08 04:15:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.