[SERVER-24703] DBClientWithCommands::ensureIndex() doesn't report errors Created: 21/Jun/16 Updated: 19/Jul/16 Resolved: 27/Jun/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance, Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.10 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | J Rassi |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| Description |
|
Observed while writing a unit test for When running the createIndexes command it correctly errors with an IndexOptionsConflict error. |
| Comments |
| Comment by Githook User [ 27/Jun/16 ] |
|
Author: {u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}Message: |
| Comment by Githook User [ 27/Jun/16 ] |
|
Author: {u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}Message: C++ driver SHAs cherry-picked (with modifications) into this commit: d67f5b5 |
| Comment by J Rassi [ 22/Jun/16 ] |
|
This is indeed a separate issue from I can confirm that the there is a caller of DBClientWithCommands::ensureIndex() from benchRun, and that all other callers are in test code. This does not seem worth backporting, to me. This issue was fixed in the legacy C++ driver by |