[CDRIVER-738] wtimeoutms ignored in URL unless w=majority Created: 09/Jul/15 Updated: 07/Aug/15 Resolved: 07/Aug/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2-beta0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Passed a URL like "mongodb://localhost/?w=2&wtimeoutms=100", mongoc_uri_new() creates a mongoc_uri_t with wtimeoutms of 0 (the default, "no timeout"). If w=majority, however, wtimeoutms is respected. |
| Comments |
| Comment by A. Jesse Jiryu Davis [ 09/Jul/15 ] |
|
Bug here: https://github.com/mongodb/mongo-c-driver/blob/master/src/mongoc/mongoc-uri.c#L778 |