[CDRIVER-707] wtimeout errors from legacy writes ignored Created: 16/Jun/15 Updated: 08/Dec/15 Resolved: 01/Dec/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | Bulk API, libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
A bulk operation with w > 1 and wtimeout, sent using legacy opcodes, calls getlasterror and may receive a wtimeout error. But the error is ignored and is not reported in the reply's writeConcernError array as spec'ed. See _mongoc_write_result_merge_legacy vs. _mongoc_write_result_merge. |
| Comments |
| Comment by Githook User [ 01/Dec/15 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |
| Comment by Githook User [ 22/Sep/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by A. Jesse Jiryu Davis [ 16/Sep/15 ] |
|
When this is fixed, reenable test_wtimeout_plus_duplicate_key_err_legacy. |
| Comment by Githook User [ 16/Jun/15 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: Reveals |