-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 0.3.0
-
Component/s: BSON, Core API, Error Handling
-
None
-
Environment: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
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"}} )
- duplicates
-
GODRIVER-877 FindOne() nondeterministically returns empty singleResult
- Closed