Details
-
Bug
-
Resolution: Gone away
-
Major - P3
-
None
-
0.1.0
-
None
-
Ubuntu 16.04, macOS Mojave
Description
FindOneAndReplace may or may not replace the document in MongoDB. The response indicates that the operation succeeded, but looking into MongoDB it was not updated at all.
I tried running MongoDB server locally. I tried starting a new MongoDB server in Azure CosmosDB
Additional screenshots and code snippets can be found in https://stackoverflow.com/questions/53979086/data-inconsistency-with-mongodb-using-mongo-go-driver