[SERVER-38686] [createIndex response format] mongos createIndex should prioritize other errors over CannotImplicitlyCreateCollection Created: 18/Dec/18  Updated: 06/Dec/22  Resolved: 06/Mar/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 4.1.6
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Duplicate Votes: 0
Labels: open_todo_in_code, todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-38367 Descriptive error message for the ina... Closed
Related
related to SERVER-43490 Validate if we can perform TODO liste... Closed
Assigned Teams:
Sharding
Operating System: ALL
Sprint: Sharding 2019-01-28, Sharding 2019-02-11, Sharding 2019-02-25
Participants:
Case:

 Description   

Currently, if shard returns multiple errors, createIndex simply selects the first error it saw and puts it on the top level error field. Instead, it should prioritize other errors over CannotImplicitlyCreateCollection.



 Comments   
Comment by Githook User [ 12/Aug/20 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-43490 Perform TODO listed in SERVER-38686

(cherry picked from commit b3ccc75e5aa4b182e0859f8e862e1248425c30d4)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f87b1a62fcbbdad05a5819493b91cd65ba265939

Comment by Githook User [ 30/Jun/20 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-43490 Perform TODO listed in SERVER-38686

(cherry picked from commit b3ccc75e5aa4b182e0859f8e862e1248425c30d4)
Branch: v4.2
https://github.com/mongodb/mongo/commit/8b3ae5e44ca766d90f58a2a57d8295bd12e6472c

Comment by Githook User [ 04/May/20 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-43490 Perform TODO listed in SERVER-38686
Branch: master
https://github.com/mongodb/mongo/commit/b3ccc75e5aa4b182e0859f8e862e1248425c30d4

Comment by Randolph Tan [ 18/Dec/18 ]

Or, if we can make mongos send createIndex to shards with chunks correctly (with shard version), we won't need to do this.

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