Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
0.3.0
-
None
-
running mongo:3.6-stretch in docker
go version go1.11.5 darwin/amd64
mongo driver github.com/mongodb/mongo-go-driver v0.3.0
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"}} )
Attachments
Issue Links
- duplicates
-
GODRIVER-877 FindOne() nondeterministically returns empty singleResult
-
- Closed
-