[GODRIVER-876] findOne can fail to return Created: 13/Mar/19 Updated: 14/Mar/19 Resolved: 14/Mar/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON, Core API, Error Handling |
| Affects Version/s: | 0.3.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matthew Nolf | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
running mongo:3.6-stretch in docker |
||
| Issue Links: |
|
||||||||
| Description |
|
Calling FindOne() sometimes returns a empty singleResult, which causes Decode() to return an ErrNoDocuments This seems to be nondeterministic, occuring raround 10% of the time. The remaining 90% of the time, findOne() successfully decodes the expected document from the collection and no errors.
db.mycollection.findOne({"address": {"first_line": "expected_first_line", "second_line" : "expected_second_line"}} )
|
| Comments |
| Comment by Jeffrey Yemin [ 14/Mar/19 ] |
|
Looks like this duplicates |