-
Type:
Bug
-
Resolution: Gone away
-
Priority:
Major - P3
-
None
-
Affects Version/s: 0.1.0
-
Component/s: CRUD
-
None
-
Environment:Ubuntu 16.04, macOS Mojave
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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